Skip to content

Commit 58af2de

Browse files
committed
Backport: Sonatype central portal URL
1 parent 25075d9 commit 58af2de

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ allprojects {
4141
nexusPublishing {
4242
repositories {
4343
sonatype {
44-
nexusUrl = uri('https://s01.oss.sonatype.org/service/local/')
45-
snapshotRepositoryUrl = uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')
44+
nexusUrl = uri('https://ossrh-staging-api.central.sonatype.com/service/local/')
45+
snapshotRepositoryUrl = uri('https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/')
4646
username = project.properties['ossrhUsername'] ?: 'bogusUser'
4747
password = project.properties['ossrhPassword'] ?: 'bogusPassword'
4848
}

buildSrc/src/main/groovy/bosk.maven-publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ publishing {
6868
}
6969
repositories {
7070
maven {
71-
def releasesRepoUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
72-
def snapshotsRepoUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
71+
def releasesRepoUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/'
72+
def snapshotsRepoUrl = 'https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/'
7373
url version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
7474

7575
credentials {

0 commit comments

Comments
 (0)