Skip to content

Commit

Permalink
Merge pull request #42 from smrutilal2/fix-gpg-signing
Browse files Browse the repository at this point in the history
Base64 encoding of the GPG key:
  • Loading branch information
smrutilal2 authored Apr 26, 2021
2 parents c3bd02a + 0574b1b commit 861838f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ subprojects {

signing {
if (project.hasProperty('signingKey') && project.hasProperty('signingPassword')) {
def signingKey = findProperty("signingKey")
def signingKeyEncoded = findProperty("signingKey")
def signingKey = new String(signingKeyEncoded.decodeBase64())
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)

Expand Down

0 comments on commit 861838f

Please sign in to comment.