From 595fc563f8924c38bd3986d17164a86c662e7298 Mon Sep 17 00:00:00 2001 From: Eric Bruneton Date: Thu, 8 Aug 2019 14:03:29 +0200 Subject: [PATCH] Don't sign snapshot releases. Gitlab CI currently fails because signing keys are missing to sign snapshot releases. --- build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle b/build.gradle index 58c7c2acc..98309c1f7 100644 --- a/build.gradle +++ b/build.gradle @@ -349,6 +349,7 @@ configure(subprojects.findAll { it.provides }) { authentication(userName: nexusUserName, password: nexusPassword) } signing { + required rootProject.hasProperty('release') sign configurations.archives } beforeDeployment { MavenDeployment deploy -> signing.signPom(deploy) } -- GitLab