Skip to content

Commit

Permalink
[4.x] Update Okio to 3.2.0 (#7591)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
yschimke and squarejesse authored Dec 30, 2022
1 parent e46a200 commit 81d3411
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
'junit': '4.13',
'kotlin': '1.6.20',
'moshi': '1.13.0',
'okio': '3.0.0',
'okio': '3.2.0',
'ktlint': '0.38.0',
'picocli': '4.2.0',
'openjsse': '1.1.0'
Expand Down Expand Up @@ -273,6 +273,15 @@ subprojects { project ->
developerConnection = 'scm:git:ssh://git@github.com/square/okhttp.git'
url = 'https://github.com/square/okhttp'
}
withXml {
asNode().dependencies.dependency
.findAll { dependency ->
dependency.artifactId.text() == 'okio-jvm'
}
.each { dependency ->
dependency.artifactId*.value = 'okio'
}
}
}
}
}
Expand Down

0 comments on commit 81d3411

Please sign in to comment.