-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[core] Fix missing kotlin and okio dependencies when using okhttp3. #5050
[core] Fix missing kotlin and okio dependencies when using okhttp3. #5050
Conversation
@jerry-024 Here, it can only be 'okio-jvm' not 'okio', otherwise ut will not pass. |
This is the final version, production test or ut has passed. |
+1 |
Need't add okio-jvm and kotlin-stdlib-jdk8 as dependency? |
No need. |
- com.squareup.okhttp3:okhttp:4.12.0 | ||
- com.squareup.okio:okio-jvm:3.6.0 | ||
- org.jetbrains.kotlin:kotlin-stdlib:1.8.21 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't need add okio-jvm and kotlin-stdlib as dependency. Needn't update this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still bundles okio-jvm
and kotlin-stdlib
dependencies in this project, It's just that these two dependencies are introduced by okhttp3
.
LGTM |
+1 |
Purpose
Relation pr : #5044 (this pr can't be reopen because force push.)
When I used the partition mark done action of
http-report
:java. lang.NoClassDefFoundError: okio/Options
java. lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics
So we need to shade
okio-jvm
andkotlin-stdlib
too.Linked issue: close #xxx
Tests
API and Format
Documentation