Skip to content

Commit

Permalink
Fix shading
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Oct 20, 2021
1 parent 5d7c0dd commit 2aad3cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ tasks.withType<ShadowJar>().configureEach {
// rewrite dependencies calling Logger.getLogger
relocate("java.util.logging.Logger", "io.opentelemetry.javaagent.bootstrap.PatchLogger")

relocate("javax.annotation", "io.opentelemetry.javaagent.shaded.javax.annotation")

// prevents conflict with library instrumentation
relocate("io.opentelemetry.instrumentation", "io.opentelemetry.javaagent.shaded.instrumentation")

Expand Down

0 comments on commit 2aad3cf

Please sign in to comment.