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 }