From 1a3dedb680b7986c6f694435a1de8fd968c8671c Mon Sep 17 00:00:00 2001 From: Joeri Sykora Date: Thu, 23 Nov 2023 19:33:00 +0100 Subject: [PATCH] optional signing on server --- java/server/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/server/build.gradle b/java/server/build.gradle index b97d6efc9d..a17df652b6 100644 --- a/java/server/build.gradle +++ b/java/server/build.gradle @@ -98,6 +98,6 @@ publishing { setUpSigningKey(signing) signing { - required { isReleaseBuild() && gradle.taskGraph.hasTask(":server:publish") } + required { !isSkipSigning() && isReleaseBuild() && gradle.taskGraph.hasTask(":server:publish") } sign publishing.publications.mavenJava }