Skip to content

Commit 54ae052

Browse files
committed
Update Sonatype URLs
1 parent 65f73c6 commit 54ae052

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ nexusPublishing {
112112
username = System.getenv("SONATYPE_USER")
113113
password = System.getenv("SONATYPE_KEY")
114114
stagingProfileId = System.getenv('SONATYPE_STAGING_PROFILE')
115+
116+
// See https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
117+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
118+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
115119
}
116120
}
117121
}

0 commit comments

Comments
 (0)