File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ nexusPublishing {
9292 def forceLocal = project. hasProperty(' forceLocal' ) && forceLocal
9393 if (forceLocal && ! isCI) {
9494 local {
95- // For testing use with https://hub.docker.com/r/sonatype/nexus
95+ // For testing, use with https://hub.docker.com/r/sonatype/nexus
9696 // docker run --rm -d -p 8081:8081 --name nexus sonatype/nexus:oss
9797 // ./gradlew publishToLocal
9898 // Doesn't work for testing releases though... (due to staging)
@@ -104,10 +104,10 @@ nexusPublishing {
104104 }
105105 } else {
106106 // see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central
107- // Also for official doc
107+ // For official documentation:
108108 // staging repo publishing https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
109109 // snapshot publishing https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods
110- sonatype {
110+ sonatype {
111111 nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
112112 snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
113113 username = System . getenv(" SONATYPE_USERNAME" )
You can’t perform that action at this time.
0 commit comments