Fix shading
This commit is contained in:
parent
5d7c0dd95b
commit
2aad3cfe21
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue