mirror of
https://github.com/octoleo/plantuml.git
synced 2025-04-03 08:41:52 +00:00
gradle, only sign when properties are there
This commit is contained in:
parent
81fd6d4943
commit
06b6493f69
@ -110,6 +110,8 @@ tasks.test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
|
if (hasProperty("signing.gnupg.passphrase")) {
|
||||||
useGpgCmd()
|
useGpgCmd()
|
||||||
sign(publishing.publications["maven"])
|
sign(publishing.publications["maven"])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user