Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit dd48be5

Browse files
committed
Require okio >= 3.x
Explicitly using okio-jvm makes the artifacts Maven-compatible. Relates to gesellix/docker-client#245
1 parent f18ef32 commit dd48be5

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

engine/build.gradle.kts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,15 @@ dependencies {
3939
}
4040
}
4141
}
42-
implementation("com.squareup.okio:okio") {
43-
version {
44-
strictly("[2.5,4)")
45-
prefer("3.1.0")
42+
listOf(
43+
"com.squareup.okio:okio",
44+
"com.squareup.okio:okio-jvm"
45+
).forEach {
46+
implementation(it) {
47+
version {
48+
strictly("[3,4)")
49+
prefer("3.1.0")
50+
}
4651
}
4752
}
4853
listOf(
@@ -67,7 +72,7 @@ dependencies {
6772
implementation("org.slf4j:slf4j-api:1.7.36")
6873
testImplementation("ch.qos.logback:logback-classic:[1.2,2)!!1.2.11")
6974

70-
implementation("com.squareup.okio:okio:3.1.0")
75+
implementation("com.squareup.okio:okio-jvm:3.1.0")
7176
implementation("com.squareup.okhttp3:okhttp:4.9.3")
7277
testImplementation("com.squareup.okhttp3:mockwebserver:4.9.3")
7378

integrationtest/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependencies {
3434
}
3535
implementation("com.squareup.okio:okio") {
3636
version {
37-
strictly("[2.5,4)")
37+
strictly("[3,4)")
3838
prefer("3.1.0")
3939
}
4040
}

0 commit comments

Comments
 (0)