Skip to content

Commit 1e1f521

Browse files
committed
Hardcode sonatype staging profile ID for faster publishing
1 parent 3173646 commit 1e1f521

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ nexusPublishing {
2626
sonatype {
2727
username = "$System.env.SONATYPE_NEXUS_USERNAME"
2828
password = "$System.env.SONATYPE_NEXUS_PASSWORD"
29+
stagingProfileId = SONATYPE_STAGING_PROFILE_ID
2930
}
3031
}
3132
}

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ POM_PACKAGING=jar
2020
RELEASE_REPOSITORY=https\://oss.sonatype.org/service/local/staging/deploy/maven2/
2121
SNAPSHOT_REPOSITORY=https\://oss.sonatype.org/content/repositories/snapshots/
2222
signing.keyId=523052D4
23+
# The staging profile ID can be found by executing the 'retrieveSonatypeStagingProfile' gradle task
24+
SONATYPE_STAGING_PROFILE_ID=dc779d1ad4732f

0 commit comments

Comments
 (0)