parent
079b8d8a53
commit
629d6fb560
1 changed files with 7 additions and 5 deletions
12
build.gradle
12
build.gradle
|
@ -84,11 +84,13 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
signing {
|
||||
def signingKey = System.getenv("MAVEN_SIGNING_KEY") ?: ""
|
||||
def signingPassword = System.getenv("MAVEN_SIGNING_PASSWORD")
|
||||
useInMemoryPgpKeys(new String(signingKey.decodeBase64()), signingPassword)
|
||||
sign publishing.publications.sdk
|
||||
if (System.getenv("MAVEN_SIGNING_KEY")) {
|
||||
signing {
|
||||
def signingKey = System.getenv("MAVEN_SIGNING_KEY") ?: ""
|
||||
def signingPassword = System.getenv("MAVEN_SIGNING_PASSWORD")
|
||||
useInMemoryPgpKeys(new String(signingKey.decodeBase64()), signingPassword)
|
||||
sign publishing.publications.sdk
|
||||
}
|
||||
}
|
||||
|
||||
javadoc {
|
||||
|
|
Loading…
Reference in a new issue