diff --git a/gradle/instrumentation.gradle b/gradle/instrumentation.gradle index 15eb63ca30ed..88a661ab325e 100644 --- a/gradle/instrumentation.gradle +++ b/gradle/instrumentation.gradle @@ -8,6 +8,8 @@ apply plugin: 'com.github.johnrengelman.shadow' ext { packageInAgentBundle = true mavenGroupId = 'io.opentelemetry.javaagent.instrumentation' + // Shadow is only for testing, not publishing. + noShadowPublish = true } apply from: "$rootDir/gradle/java.gradle"