Skip to content

Commit f83d00f

Browse files
committed
publishing: use s01.oss.sonatype.org URL
1 parent 2897f8b commit f83d00f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/buildSrc/src/main/kotlin/publishing/SonatypePublishing.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ fun PublishingExtension.mavenCentralStagingPublishing(
1515
maven {
1616
name = "MavenCentralStaging"
1717
url = when (repositoryId) {
18-
null -> URI("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
19-
else -> URI("https://oss.sonatype.org/service/local/staging/deployByRepositoryId/$repositoryId/")
18+
null -> URI("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/")
19+
else -> URI("https://s01.oss.sonatype.org/service/local/staging/deployByRepositoryId/$repositoryId/")
2020
}
2121
credentials {
2222
username = sonatypeUsername
@@ -34,7 +34,7 @@ fun PublishingExtension.sonatypeSnapshotsPublishing(
3434
repositories {
3535
maven {
3636
name = "SonatypeSnapshots"
37-
url = URI("https://oss.sonatype.org/content/repositories/snapshots/")
37+
url = URI("https://s01.oss.sonatype.org/content/repositories/snapshots/")
3838
credentials {
3939
username = sonatypeUsername
4040
password = sonatypePassword

0 commit comments

Comments
 (0)