From 8589fe90c671a0c814f015cb6c0955c867f01d70 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sun, 14 Apr 2024 21:23:32 +0200 Subject: [PATCH] Introduce 'skip.signing' property Signed-off-by: Alexander Brandes --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index cf7f1c4db..ab73dadcd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -118,7 +118,7 @@ subprojects { } signing { - if (!version.toString().endsWith("-SNAPSHOT")) { + if (!project.hasProperty("skip.signing") && !version.toString().endsWith("-SNAPSHOT")) { val signingKey: String? by project val signingPassword: String? by project useInMemoryPgpKeys(signingKey, signingPassword)