diff --git a/build.gradle.kts b/build.gradle.kts index 7ad530ffed..6a637759a2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -166,7 +166,7 @@ tasks { } withType { - setOnlyIf { isReleaseVersion && gradle.taskGraph.hasTask("publish") } + setOnlyIf { isReleaseVersion && gradle.taskGraph.hasTask(":publish") } } cyclonedxBom {