Skip to content

Commit cef40e9

Browse files
committed
[infra] move from OSSRH
1 parent 62472d5 commit cef40e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def configureRepositores(project) {
237237
}
238238
if (project.version.endsWith("-SNAPSHOT")) {
239239
maven {
240-
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
240+
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
241241
}
242242
}
243243
mavenLocal()
@@ -467,14 +467,14 @@ def publishArtifacts(project, scope) {
467467
if (project.version.endsWith("-SNAPSHOT")) {
468468
maven {
469469
name = "sonatype"
470-
url = "https://oss.sonatype.org/content/repositories/snapshots"
470+
url = "https://central.sonatype.com/repository/maven-snapshots/"
471471
configureCredentials.delegate = credentials
472472
configureCredentials()
473473
}
474474
} else {
475475
maven {
476476
name = "sonatype"
477-
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
477+
url = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
478478
configureCredentials.delegate = credentials
479479
configureCredentials()
480480
}

0 commit comments

Comments
 (0)