Very crude fix for publishing problem with agent-for-testing
MODIFY
buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts
buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts
@@ -9,9 +9,11 @@ publishing {
plugins.withId("java-platform") {
from(components["javaPlatform"])
}
+ if(project.name != "agent-for-testing") {
plugins.withId("java-library") {
from(components["java"])
}
+ }
versionMapping {
allVariants {

Very crude fix for publishing problem with agent-for-testing (#3675)