We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a221fc4 commit f77ce04Copy full SHA for f77ce04
build.gradle
@@ -100,7 +100,10 @@ nexusPublishing {
100
}
101
} else {
102
// see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central
103
- sonatype {
+ // 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 {
107
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
108
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
109
username = System.getenv("SONATYPE_USERNAME")
0 commit comments