diff --git a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts index 32829eb68cb2..5d08da336c3b 100644 --- a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts @@ -9,10 +9,8 @@ publishing { plugins.withId("java-platform") { from(components["javaPlatform"]) } - if(project.name != "agent-for-testing") { - plugins.withId("java-library") { - from(components["java"]) - } + plugins.withId("java-library") { + from(components["java"]) } versionMapping {