Skip to content

Commit 76a6124

Browse files
committed
testing the correct way how to set the in-memory signing key
1 parent 32ce290 commit 76a6124

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ plugins {
2424

2525
if (!project.hasProperty('mavenCentralUsername')) ext.mavenCentralUsername = System.getenv('MAVEN_CENTRAL_USERNAME') ?: '**UNDEFINED**'
2626
if (!project.hasProperty('mavenCentralPassword')) ext.mavenCentralPassword = System.getenv('MAVEN_CENTRAL_PASSWORD') ?: '**UNDEFINED**'
27-
if (!project.hasProperty('signing.keyId')) ext['signing.keyId'] = System.getenv('SIGNING_KEY_ID') ?: '**UNDEFINED**'
28-
if (!project.hasProperty('signing.password')) ext['signing.password'] = System.getenv('SIGNING_PASSWORD') ?: '**UNDEFINED**'
29-
if (!project.hasProperty('signing.secretKeyRingFile')) ext['signing.secretKeyRingFile'] = System.getenv('SIGNING_SECRET_KEY_PATH') ?: '**UNDEFINED**'
27+
if (!project.hasProperty('signingInMemoryKeyId')) ext.signingInMemoryKeyId = System.getenv('SIGNING_KEY_ID') ?: '**UNDEFINED**'
28+
if (!project.hasProperty('signingInMemoryKeyPassword')) ext.signingInMemoryKeyPassword = System.getenv('SIGNING_PASSWORD') ?: '**UNDEFINED**'
29+
if (!project.hasProperty('signingInMemoryKey')) ext.signingInMemoryKey = System.getenv('SIGNING_SECRET_KEY_PATH') ? rootProject.file(System.getenv('SIGNING_SECRET_KEY_PATH')).text : '**UNDEFINED**'
3030

3131
config {
3232
release = (rootProject.findProperty('release') ?: false).toBoolean()

0 commit comments

Comments
 (0)