Skip to content

Commit fe9353c

Browse files
author
Dai MIKURUBE
committed
Sign artifacts with an in-memory key if available
1 parent bea8db7 commit fe9353c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ publishing {
218218
}
219219

220220
signing {
221+
if (project.hasProperty("signingKey") && project.hasProperty("signingPassword")) {
222+
logger.lifecycle("Signing with an in-memory key.")
223+
useInMemoryPgpKeys(signingKey, signingPassword)
224+
}
221225
sign publishing.publications.maven
222226
}
223227

0 commit comments

Comments
 (0)