Skip to content

Commit 62bf800

Browse files
sarahchen6bric3
andcommitted
Apply documentation suggestion from @bric3
Co-authored-by: Brice Dutheil <[email protected]>
1 parent 2530bab commit 62bf800

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
@@ -104,7 +104,10 @@ nexusPublishing {
104104
}
105105
} else {
106106
// see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central
107-
sonatype {
107+
// Also for official doc
108+
// staging repo publishing https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
109+
// snapshot publishing https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods
110+
sonatype {
108111
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
109112
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
110113
username = System.getenv("SONATYPE_USERNAME")

0 commit comments

Comments
 (0)