We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 406bd36 commit 1146807Copy full SHA for 1146807
build.gradle
@@ -80,8 +80,11 @@ publishing {
80
}
81
82
signing {
83
- useInMemoryPgpKeys(new String(Base64.decoder.decode(System.getenv('SIGNING_KEY'))), System.getenv('SIGNING_PASSWORD'))
84
- sign publishing.publications
+ String base64Key = System.getenv('SIGNING_KEY')
+ if (base64Key) {
85
+ useInMemoryPgpKeys(new String(Base64.decoder.decode(base64Key)), System.getenv('SIGNING_PASSWORD'))
86
+ sign publishing.publications
87
+ }
88
89
90
nexusPublishing {
0 commit comments