File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
66ext. projectVersion = ' 3.2.0-SNAPSHOT'
77ext. 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/'
1010ext. mavenRepoUsername = project. properties[' mavenRepoUsername' ] ?: ' Symphony artifactory user'
1111ext. 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)
4344nexusPublishing {
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}
You can’t perform that action at this time.
0 commit comments