Disable shadowPublish for instrumentation projects
MODIFY
gradle/instrumentation.gradle
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"

Disable shadowPublish for instrumentation projects (#2068)