diff --git a/buildSrc/src/main/groovy/bosk.maven-publish.gradle b/buildSrc/src/main/groovy/bosk.maven-publish.gradle index 654e0b04..488fb1e1 100644 --- a/buildSrc/src/main/groovy/bosk.maven-publish.gradle +++ b/buildSrc/src/main/groovy/bosk.maven-publish.gradle @@ -68,8 +68,8 @@ publishing { } repositories { maven { - def releasesRepoUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' - def snapshotsRepoUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + def releasesRepoUrl = 'https://central.sonatype.org/service/local/staging/deploy/maven2/' + def snapshotsRepoUrl = 'https://central.sonatype.org/content/repositories/snapshots/' url version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl credentials {