Allows actually consume published instrumentation artifacts
MODIFY
agent-bootstrap/agent-bootstrap.gradle
agent-bootstrap/agent-bootstrap.gradle
apply from: "$rootDir/gradle/java.gradle"
+apply from: "$rootDir/gradle/publish.gradle"
// FIXME: Improve test coverage.
minimumBranchCoverage = 0.0

MODIFY
agent-tooling/agent-tooling.gradle
agent-tooling/agent-tooling.gradle
apply from: "$rootDir/gradle/java.gradle"
+apply from: "$rootDir/gradle/publish.gradle"
// TODO this is not the desired state, only reflects current reality
minimumBranchCoverage = 0

MODIFY
gradle/publish.gradle
gradle/publish.gradle
@@ -61,6 +61,9 @@ private String artifactPrefix(Project p){
if (p.name.startsWith("opentelemetry")) {
return ''
}
+ if (p.name.startsWith("auto")) {
+ return 'opentelemetry-'
+ }
if (p.group == 'io.opentelemetry.instrumentation.auto') {
return 'opentelemetry-auto-'
}

MODIFY
utils/thread-utils/thread-utils.gradle
utils/thread-utils/thread-utils.gradle
apply from: "$rootDir/gradle/java.gradle"
+apply from: "$rootDir/gradle/publish.gradle"
// TODO: add more tests
excludedClassesCoverage += [

Allows actually consume published instrumentation artifacts (#692)