Skip to content

Commit a80afda

Browse files
authored
Update build.gradle URLs
1 parent 780060d commit a80afda

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,8 @@ nexusPublishing {
184184
// stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID"))
185185
username.set(System.getenv("OSSRH_USERNAME"))
186186
password.set(System.getenv("OSSRH_PASSWORD"))
187-
// For newer Sonatype accounts (after Feb 2021) use "s01.oss.sonatype.org":
188-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
189-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
187+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
188+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
190189
}
191190
}
192191
}

0 commit comments

Comments
 (0)