Skip to content

Commit c5d58ee

Browse files
feat(maven-deploy): Switched to new Maven 3 hosts for Sonatype repositories
1 parent 6367fdf commit c5d58ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,9 @@ configure(publishedProjects) {
139139
}
140140
repositories {
141141
maven {
142-
def releaseUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
143-
def snapshotUrl = "https://oss.sonatype.org/content/repositories/snapshots"
142+
// Switched to s01 host (required for newer / migrated projects)
143+
def releaseUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2"
144+
def snapshotUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots"
144145
url = isReleaseVersion ? releaseUrl : snapshotUrl
145146
credentials {
146147
username System.getenv('MAVEN_CENTRAL_USERNAME')

0 commit comments

Comments
 (0)