diff --git a/example-projects/custom-instrumentation/build.gradle.kts b/example-projects/custom-instrumentation/build.gradle.kts index ed7ffd3..b7b8a47 100644 --- a/example-projects/custom-instrumentation/build.gradle.kts +++ b/example-projects/custom-instrumentation/build.gradle.kts @@ -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 {