Skip to content

fix: use okhttp-jvm artifact to resolve ClassNotFoundException for Ma…#9

Merged
bjarn merged 1 commit intomainfrom
fix/maven-empty-okhttp
Mar 18, 2026
Merged

fix: use okhttp-jvm artifact to resolve ClassNotFoundException for Ma…#9
bjarn merged 1 commit intomainfrom
fix/maven-empty-okhttp

Conversation

@bjarn
Copy link
Contributor

@bjarn bjarn commented Mar 18, 2026

…ven consumers

OkHttp 5.x is Kotlin Multiplatform and the okhttp artifact is an empty JAR when resolved by Maven (which ignores Gradle Module metadata). Switch to okhttp-jvm and promote to api scope so the published POM uses compile instead of runtime, ensuring reliable transitive resolution.

@bjarn bjarn merged commit 10f0588 into main Mar 18, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant