Alternate approach to handling okhttp/okhttp-jvm dependency#7681
Alternate approach to handling okhttp/okhttp-jvm dependency#7681jkwatson merged 1 commit intoopen-telemetry:mainfrom
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:
|
breedx-splk
left a comment
There was a problem hiding this comment.
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