Fix shadow publishing
MODIFY
buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts
buildSrc/src/main/kotlin/otel.publish-conventions.gradle.kts
@@ -8,7 +8,7 @@ plugins {
publishing {
publications {
register<MavenPublication>("maven") {
- if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != "true") {
+ if (tasks.names.contains("shadowJar") && findProperty("noShadowPublish") != true) {
the<ShadowExtension>().component(this)
} else {
plugins.withId("java-platform") {

Fix shadow publishing (#3340)