From c98eb3c8b9e91696c271ec4975ce46a54b5ed72b Mon Sep 17 00:00:00 2001 From: Bjarn Bronsveld Date: Wed, 18 Mar 2026 22:37:02 +0100 Subject: [PATCH] fix: use okhttp-jvm artifact to resolve ClassNotFoundException for Maven consumers --- build.gradle | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 1c9060a..c762ad0 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ repositories { dependencies { // HTTP Client - implementation 'com.squareup.okhttp3:okhttp:5.3.2' + api 'com.squareup.okhttp3:okhttp-jvm:5.3.2' // JSON Processing implementation 'com.fasterxml.jackson.core:jackson-databind:2.21.1' diff --git a/pom.xml b/pom.xml index 15cb6c8..f33972c 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ com.squareup.okhttp3 - okhttp + okhttp-jvm ${okhttp.version}