diff --git a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts index d75985d57884..de6cfce2e91d 100644 --- a/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts @@ -8,7 +8,7 @@ plugins { publishing { publications { register("maven") { - if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != "true") { + if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != true) { the().component(this) } else { plugins.withId("java-platform") {