File tree Expand file tree Collapse file tree 2 files changed +3
-26
lines changed
Expand file tree Collapse file tree 2 files changed +3
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ extra["signing.keyId"] = ""
103103extra[" signing.password" ] = " "
104104extra[" signing.secretKeyRingFile" ] = " "
105105extra[" sonatypeStagingProfileId" ] = " "
106+ extra[" signing.gpgkeycontents" ] = " "
106107
107108val secretPropsFile = project.rootProject.file(" local.properties" )
108109if (secretPropsFile.exists()) {
@@ -117,6 +118,7 @@ if (secretPropsFile.exists()) {
117118 extra[" signing.keyId" ] = System .getenv(" SIGNING_KEY_ID" ) ? : " "
118119 extra[" signing.password" ] = System .getenv(" SIGNING_PASSWORD" ) ? : " "
119120 extra[" signing.secretKeyRingFile" ] = System .getenv(" SIGNING_SECRET_KEY_RING_FILE" ) ? : " "
121+ extra[" signing.gpgkeycontents" ] = System .getenv(" GPG_KEY_CONTENTS" ) ? : " "
120122 extra[" sonatypeStagingProfileId" ] = System .getenv(" SONATYPE_STAGING_PROFILE_ID" ) ? : " "
121123}
122124
@@ -158,7 +160,7 @@ publishing {
158160signing {
159161 useInMemoryPgpKeys(
160162 extra[" signing.keyId" ] as String ,
161- extra[" signing.secretKeyRingFile " ] as String ,
163+ extra[" signing.gpgkeycontents " ] as String ,
162164 extra[" signing.password" ] as String
163165 )
164166 sign(publishing.publications)
You can’t perform that action at this time.
0 commit comments