Skip to content

Commit

Permalink
Update Nexus URL in the publication gradle file
Browse files Browse the repository at this point in the history
In order to comply with the new requirements set by Sonatype, we've updated the nexusUrl in the publication gradle file. The old URL, "https://s01.oss.sonatype.org/service/local/", has been replaced with "https://s01.oss.sonatype.org/content/repositories/releases/" to ensure we're able to publish to Maven Central.
  • Loading branch information
Tiebe committed Nov 9, 2023
1 parent 0f298a8 commit ef0b557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ nexusPublishing {
// https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh
repositories {
sonatype { //only for users registered in Sonatype after 24 Feb 2021
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
nexusUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/releases/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
}
}
Expand Down

0 comments on commit ef0b557

Please sign in to comment.