Commit 27af635
authored
build: update OkHttp to 5.3.0 stable (#9)
* build: update OkHttp 5.0.0-alpha.3 to 5.3.0 stable
Move off the pre-release alpha to the current stable OkHttp 5.x line.
5.3.0 is the latest stable whose okhttp-android artifact still supports
compileSdk 35 (5.4.0 requires minCompileSdk=36). The network-client API used
(OkHttpClient, newCall/execute, Request.Builder, Credentials.basic,
toMediaType/toRequestBody, HttpUrl) is stable across 5.x; no source changes.
* refactor: replace okhttp3.internal.closeQuietly with local extension
okhttp3.internal.closeQuietly is an unstable internal API. Replace it with a
small private Closeable.closeQuietly() extension (same semantics) so the
OkHttp upgrade path stays robust.1 parent 9dadd24 commit 27af635
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
0 commit comments