From 31abf59b8830c26d15be46356366de4ba827aa2c Mon Sep 17 00:00:00 2001 From: Jeroen van Erp Date: Thu, 20 May 2021 09:24:59 +0200 Subject: [PATCH] Fix signing task dependency --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")