You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This `OkHttp4Engine` is intended to be used for applications which still depend on okhttp3 **4.x** and can't upgrade to the newest alpha version.
5
+
This `OkHttp4Engine` is intended to be used by applications which still depend on okhttp3 **4.x** and can't upgrade to the next major version.
12
6
13
7
## Configuration
14
8
15
9
### Gradle
16
-
Because the SDK's default HTTP engine depends on okhttp3 **5.0.0-alpha.X**, consumers will need to force Gradle to resolve to **4.x** to prevent the alpha dependency from being introduced transitively. Here is a sample configuration:
10
+
Because the SDK's default HTTP engine depends on okhttp3 **5.x**, consumers will need to force Gradle to resolve to **4.x** to prevent the newer dependency from being introduced transitively. Here is a sample configuration:
17
11
```kts
18
12
dependencies {
19
13
implementation("aws.sdk.kotlin:s3:$SDK_VERSION") // and any other AWS SDK clients...
@@ -25,7 +19,7 @@ configurations.all {
25
19
// Force resolve to OkHttp 4.x
26
20
force("com.squareup.okhttp3:okhttp:4.12.0") // or whichever version you are using...
27
21
}
28
-
exclude(group ="com.squareup.okhttp3", module ="okhttp-coroutines") // Exclude dependency on okhttp-coroutines, which is introduced in 5.0.0-alpha.X
22
+
exclude(group ="com.squareup.okhttp3", module ="okhttp-coroutines") // Exclude dependency on okhttp-coroutines, which was introduced in 5.0.0-alpha.X
0 commit comments