We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ead293 commit d286adaCopy full SHA for d286ada
build.gradle
@@ -137,10 +137,13 @@ configure(publishedProjects) {
137
}
138
139
signing {
140
+ // base64 for workaround travis escape chars issue
141
+ def signingKeyBase64 = System.getenv('MAVEN_SIGNING_KEY_BASE64')
142
// skip signing for "local" version into MavenLocal for test-app
- required { !version.equals("local") }
143
+ if (!signingKeyBase64?.trim()) return
144
+ byte[] decoded = signingKeyBase64.decodeBase64()
145
+ def signingKey = new String(decoded)
146
- def signingKey = System.getenv('MAVEN_SIGNING_KEY')
147
def signingPassword = System.getenv('MAVEN_SIGNING_PASSPHRASE')
148
useInMemoryPgpKeys(signingKey, signingPassword)
149
sign publishing.publications.release
0 commit comments