1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-02 08:30:49 +00:00

gradle, only sign when properties are there

This commit is contained in:
soloturn 2022-02-13 07:33:00 +01:00
parent 81fd6d4943
commit 06b6493f69

View File

@ -110,6 +110,8 @@ tasks.test {
}
signing {
useGpgCmd()
sign(publishing.publications["maven"])
if (hasProperty("signing.gnupg.passphrase")) {
useGpgCmd()
sign(publishing.publications["maven"])
}
}