-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Package okio does not exist" after updating to okio 3.0.0 when using maven #1067
Comments
I'm probably too new to this and maybe I'm missing something, but it looks like the okio 3.0 dependency only contains kotlin code and the okio-jvm dependency contains class files. Similar if you use okhttp, you now have to depend on okhttp-jvm so that the transitive dependencies will be correct. |
If you're using Gradle metadata it should be able to resolve |
We should put this in our main docs. |
Changes the okio dependency to com.squareup.okio:okio-jvm, bumps the required okio version to 3+. Relates to square/okio#1067
Changes the okio dependency to com.squareup.okio:okio-jvm, bumps the required okio version to 3+. Relates to square/okio#1067
Here's a minimal failing example:
Files
Directory structure:
pom.xml
:TestOkio.java
:Dockerfile
:Output
The text was updated successfully, but these errors were encountered: