Skip to content

Commit cf63a59

Browse files
committed
bring back signing
1 parent 4243e0f commit cf63a59

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,13 @@ subprojects {
9191
}
9292
}
9393

94-
// signing {
95-
// if (findProperty('signingKey') != null) {
96-
// def decodedKey = new String(findProperty('signingKey').decodeBase64())
97-
// useInMemoryPgpKeys(decodedKey, findProperty('signingPassword'))
98-
// }
99-
// sign publishing.publications.sonatype
100-
// }
94+
signing {
95+
if (findProperty('signingKey') != null) {
96+
def decodedKey = new String(findProperty('signingKey').decodeBase64())
97+
useInMemoryPgpKeys(decodedKey, findProperty('signingPassword'))
98+
}
99+
sign publishing.publications.sonatype
100+
}
101101

102102
tasks.withType(Test).configureEach {
103103
testLogging {

0 commit comments

Comments
 (0)