Skip to content

Commit

Permalink
Use the default nexus URL for the legacy Maven Central server
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev authored Oct 29, 2023
1 parent 97b9d4c commit fb73eab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ nexusPublishing {
// See https://github.com/wiremock/community/blob/main/infra/maven-central.md
repositories {
sonatype {
nexusUrl.set(uri("https://oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots/"))
// TODO: allow configuring destinations for oss1
// nexusUrl.set(uri("https://oss.sonatype.org/service/local/"))
// snapshotRepositoryUrl.set(uri("https://oss.sonatype.org/content/repositories/snapshots/"))
username.set(providers.environmentVariable("OSSRH_USERNAME").get())
password.set(providers.environmentVariable("OSSRH_TOKEN").get())
}
Expand Down

0 comments on commit fb73eab

Please sign in to comment.