-
Couldn't load subscription status.
- Fork 913
Alternate approach to handling okhttp/okhttp-jvm dependency #7681
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7681 +/- ##
=========================================
Coverage 90.12% 90.12%
Complexity 7183 7183
=========================================
Files 814 814
Lines 21675 21675
Branches 2123 2123
=========================================
Hits 19534 19534
Misses 1475 1475
Partials 666 666 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Approving, because it seems like it at least reduces the number of places that depend on okhttp-jvm....but does it actually really solve the problem in #7678 if the published pom still declares dependency on okhttp-jvm (like this example from contrib)???
The idea behind this is that the gradle metadata in https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-opamp-client/1.49.0-alpha/opentelemetry-opamp-client-1.49.0-alpha.module points to |
|
Can someone verify this works for Android builds? |
OH thanks for that clarification...I always forget that modules exist in java. 🙈 That makes much more sense now. |
|
@jkwatson I've checked out @trask's branch, ran This matches In contrast, this is what it looks like with In summary, this PR indeed seems to resolve #7678. Thanks @trask, @jkwatson, @breedx-splk and @laurit for all your support! |
it doesn't really have anything to do with java modules, gradle metadata uses |
|
Was this released in https://github.com/open-telemetry/opentelemetry-java/releases/tag/v1.55.0 ? edit: looks like i didn't look close enough. does indeed seem to be the case. awesome! |
Following @laurit's open-telemetry/opentelemetry-java-contrib#2094
Resolves #7678