Skip to content

Commit f77ce04

Browse files
sarahchen6bric3
andauthored
Apply documentation suggestion from @bric3
Co-authored-by: Brice Dutheil <brice.dutheil@gmail.com>
1 parent a221fc4 commit f77ce04

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ nexusPublishing {
100100
}
101101
} else {
102102
// see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central
103-
sonatype {
103+
// Also for official doc
104+
// staging repo publishing https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
105+
// snapshot publishing https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods
106+
sonatype {
104107
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
105108
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
106109
username = System.getenv("SONATYPE_USERNAME")

0 commit comments

Comments
 (0)