From 6dc84b194ee4e3f8f13bfc938da58e031036d69d Mon Sep 17 00:00:00 2001 From: Jim Anderson Date: Wed, 20 Sep 2023 11:39:06 -0500 Subject: [PATCH] exclude okio from okhttp --- build.gradle | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index ed8185d3..4d9274c1 100644 --- a/build.gradle +++ b/build.gradle @@ -70,10 +70,13 @@ ext { } dependencies { - implementation "com.squareup.okhttp3:okhttp:${okhttpVersion}" - implementation "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}" // TODO remove direct dependency when OkHttp 4.12.0 is released - implementation "com.squareup.okio:okio:3.4.0" + implementation ("com.squareup.okhttp3:okhttp:${okhttpVersion}") { + exclude group: 'com.squareup.okhttp3', module: 'okio' + } + implementation "com.squareup.okio:okio:3.5.0" + + implementation "com.squareup.okhttp3:logging-interceptor:${okhttpVersion}" implementation "com.fasterxml.jackson.core:jackson-databind:2.14.2" implementation "com.auth0:java-jwt:4.4.0" implementation "net.jodah:failsafe:2.4.4"