Skip to content

Commit e55dfbf

Browse files
committed
Change signing
1 parent a0c40e1 commit e55dfbf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.gradle

+7-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,13 @@ if (System.getenv('RELEASE_BUILD') == 'true') {
169169
signing {
170170
def final encodedKey = System.getenv('GPG_SIGNING_KEY')
171171
def final signingKey = new String(encodedKey.decodeBase64())
172-
useInMemoryPgpKeys(signingKey, System.getenv('GPG_PASSPHRASE'))
172+
allprojects {
173+
println 'setup gpg signing with in-memory key'
174+
useInMemoryPgpKeys(
175+
signingKey,
176+
System.getenv('GPG_PASSPHRASE')
177+
)
178+
}
173179
sign publishing.publications.maven
174180
}
175181
}

0 commit comments

Comments
 (0)