Skip to content

Commit b3e8bdd

Browse files
authored
UPL-160: update OSSRH uri (#829)
1 parent 37df574 commit b3e8bdd

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
ext.projectVersion = '3.2.0-SNAPSHOT'
77
ext.isReleaseVersion = !ext.projectVersion.endsWith('SNAPSHOT')
88

9-
ext.mavenRepoUrl = project.properties['mavenRepoUrl'] ?: 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/'
9+
ext.mavenRepoUrl = project.properties['mavenRepoUrl'] ?: 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/'
1010
ext.mavenRepoUsername = project.properties['mavenRepoUsername'] ?: 'Symphony artifactory user'
1111
ext.mavenRepoPassword = project.properties['mavenRepoPassword'] ?: 'Symphony artifactory password'
1212

@@ -40,15 +40,16 @@ allprojects {
4040
defaultTasks 'build'
4141
}
4242

43+
// Publishing to Maven Central via Sonatype (https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuring-your-plugin)
4344
nexusPublishing {
4445
packageGroup = 'org.finos.symphony.bdk'
4546

4647
repositories {
4748
sonatype {
4849
username = project.ext.mavenRepoUsername
4950
password = project.ext.mavenRepoPassword
50-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
51-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
51+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
52+
snapshotRepositoryUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"))
5253
}
5354
}
5455
}

0 commit comments

Comments
 (0)