Introduce 'skip.signing' property (#4398)

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-04-15 19:39:54 +02:00 committed by GitHub
parent bc1cc074b8
commit 7edca600fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)