File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 export -- GPG_SIGNING_KEY_ID
3737 printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
3838 GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
39+ export ORG_GRADLE_PROJECT_signingInMemoryKey="$GPG_SIGNING_KEY"
40+ export ORG_GRADLE_PROJECT_signingInMemoryKeyId="$GPG_SIGNING_KEY_ID"
41+ export ORG_GRADLE_PROJECT_signingInMemoryKeyPassword="$GPG_SIGNING_PASSWORD"
3942 # Keep publish execution serial to avoid Gradle/Dokka task graph race conditions.
4043 ./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache --no-parallel
4144 env :
Original file line number Diff line number Diff line change @@ -23,10 +23,6 @@ repositories {
2323 mavenCentral()
2424}
2525
26- extra[" signingInMemoryKey" ] = System .getenv(" GPG_SIGNING_KEY" )
27- extra[" signingInMemoryKeyId" ] = System .getenv(" GPG_SIGNING_KEY_ID" )
28- extra[" signingInMemoryKeyPassword" ] = System .getenv(" GPG_SIGNING_PASSWORD" )
29-
3026configure<MavenPublishBaseExtension > {
3127 if (! project.hasProperty(" publishLocal" )) {
3228 signAllPublications()
You can’t perform that action at this time.
0 commit comments