Skip to content

Commit 900a0b1

Browse files
committed
Updates publishing from Nexus to Central Portal.
1 parent ee2c97c commit 900a0b1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎build.gradle.kts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,9 +605,11 @@ publishing {
605605

606606
nexusPublishing {
607607
// Documentation for this plugin, see https://github.com/gradle-nexus/publish-plugin/blob/v1.3.0/README.md
608+
// Updated for Central Portal migration
608609
this.repositories {
609610
sonatype {
610-
nexusUrl.set(uri("https://aws.oss.sonatype.org/service/local/"))
611+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
612+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
611613
// For CI environments, the username and password should be stored in
612614
// ORG_GRADLE_PROJECT_sonatypeUsername and ORG_GRADLE_PROJECT_sonatypePassword respectively.
613615
if (!isCI) {

0 commit comments

Comments
 (0)