diff --git a/gradle/publishing.gradle b/gradle/publishing.gradle index 7076577b..2b8935dd 100644 --- a/gradle/publishing.gradle +++ b/gradle/publishing.gradle @@ -82,5 +82,5 @@ signing { } tasks.withType(Sign).configureEach { - onlyIf { gradle.taskGraph.hasTask("${project.path}:publish") } + onlyIf { gradle.taskGraph.hasTask(project.tasks["publish"]) } }