Exclude duplicates from -all.jar
MODIFY
javaagent/build.gradle
javaagent/build.gradle
@@ -59,6 +59,7 @@ shadowJar {
dependsOn("${it.path}:shadowJar")
}
with isolateSpec(projectsWithShadowJar)
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
//Includes instrumentations, but not exporters

Exclude duplicates from -all.jar (#3430)