Introduce 'skip.signing' property

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-04-14 21:23:32 +02:00
parent bc1cc074b8
commit 8589fe90c6
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

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)