diff --git a/build.gradle b/build.gradle index be827adbb2c8..88d715be10c8 100644 --- a/build.gradle +++ b/build.gradle @@ -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' @@ -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' + } + } } } }