diff --git a/build.gradle b/build.gradle index 194dc0a1..7574288b 100644 --- a/build.gradle +++ b/build.gradle @@ -152,7 +152,7 @@ publishing { if (project.hasProperty("signingKeyId") || project.hasProperty("signingKey")) { project.signing { - required { project.gradle.taskGraph.hasTask("required") } + required { project.gradle.taskGraph.hasTask("release") } def signingKeyId = project.findProperty("signingKeyId") def signingKey = project.findProperty("signingKey") def signingPassword = project.findProperty("signingPassword")