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:
parent
81fd6d4943
commit
06b6493f69
|
@ -110,6 +110,8 @@ tasks.test {
|
||||||
}
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
useGpgCmd()
|
if (hasProperty("signing.gnupg.passphrase")) {
|
||||||
sign(publishing.publications["maven"])
|
useGpgCmd()
|
||||||
|
sign(publishing.publications["maven"])
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user