Skip to content

Commit 10f0588

Browse files
committed
fix: use okhttp-jvm artifact to resolve ClassNotFoundException for Maven consumers
1 parent 89087a3 commit 10f0588

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020

2121
dependencies {
2222
// HTTP Client
23-
implementation 'com.squareup.okhttp3:okhttp:5.3.2'
23+
api 'com.squareup.okhttp3:okhttp-jvm:5.3.2'
2424

2525
// JSON Processing
2626
implementation 'com.fasterxml.jackson.core:jackson-databind:2.21.1'

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<!-- HTTP Client -->
4949
<dependency>
5050
<groupId>com.squareup.okhttp3</groupId>
51-
<artifactId>okhttp</artifactId>
51+
<artifactId>okhttp-jvm</artifactId>
5252
<version>${okhttp.version}</version>
5353
</dependency>
5454

0 commit comments

Comments
 (0)