Skip to content

Commit 81d3411

Browse files
[4.x] Update Okio to 3.2.0 (#7591)
* Update Okio to 3.2.0 This version does the right thing for Kotlin Multiplatform and Maven. * Filtering okio-jvm to okio. Co-authored-by: Jesse Wilson <jwilson@squareup.com>
1 parent e46a200 commit 81d3411

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

build.gradle

+10-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ buildscript {
1717
'junit': '4.13',
1818
'kotlin': '1.6.20',
1919
'moshi': '1.13.0',
20-
'okio': '3.0.0',
20+
'okio': '3.2.0',
2121
'ktlint': '0.38.0',
2222
'picocli': '4.2.0',
2323
'openjsse': '1.1.0'
@@ -273,6 +273,15 @@ subprojects { project ->
273273
developerConnection = 'scm:git:ssh://git@github.com/square/okhttp.git'
274274
url = 'https://github.com/square/okhttp'
275275
}
276+
withXml {
277+
asNode().dependencies.dependency
278+
.findAll { dependency ->
279+
dependency.artifactId.text() == 'okio-jvm'
280+
}
281+
.each { dependency ->
282+
dependency.artifactId*.value = 'okio'
283+
}
284+
}
276285
}
277286
}
278287
}

0 commit comments

Comments
 (0)