Skip to content

Commit

Permalink
🐛 relocate semconv and context packages when building instrumentaiton…
Browse files Browse the repository at this point in the history
… module
  • Loading branch information
ryandens committed Jun 8, 2022
1 parent 254a92d commit 4abd6ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example-projects/custom-instrumentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ plugins {

tasks.shadowJar {
relocate("io.opentelemetry.api", "io.opentelemetry.javaagent.shaded.io.opentelemetry.api")
relocate("io.opentelemetry.semconv", "io.opentelemetry.javaagent.shaded.io.opentelemetry.semconv")
relocate("io.opentelemetry.context", "io.opentelemetry.javaagent.shaded.io.opentelemetry.context")
}

tasks.assemble {
Expand Down

0 comments on commit 4abd6ac

Please sign in to comment.