mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +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 {
|
||||
useGpgCmd()
|
||||
sign(publishing.publications["maven"])
|
||||
if (hasProperty("signing.gnupg.passphrase")) {
|
||||
useGpgCmd()
|
||||
sign(publishing.publications["maven"])
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user