Skip to content

Commit 4dc4fe6

Browse files
authored
Merge pull request #124 from embulk/sign-with-in-memory-key
Sign artifacts with an in-memory key if available
2 parents bea8db7 + fe9353c commit 4dc4fe6

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)