File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ def isReleaseBuild() {
2626
2727def getReleaseRepositoryUrl () {
2828 return hasProperty(' RELEASE_REPOSITORY_URL' ) ? RELEASE_REPOSITORY_URL :
29- " https://aws.oss .sonatype.org /service/local/staging/deploy/maven2/"
29+ " https://ossrh-staging-api.central .sonatype.com /service/local/staging/deploy/maven2/"
3030}
3131
3232def getSnapshotRepositoryUrl () {
3333 return hasProperty(' SNAPSHOT_REPOSITORY_URL' ) ? SNAPSHOT_REPOSITORY_URL :
34- " https://aws.oss .sonatype.org /content/repositories/snapshots/"
34+ " https://ossrh-staging-api.central .sonatype.com /content/repositories/snapshots/"
3535}
3636
3737def getRepositoryUsername () {
@@ -55,6 +55,7 @@ afterEvaluate { project ->
5555 pom. artifactId = POM_ARTIFACT_ID
5656 pom. version = VERSION_NAME
5757
58+ name = ' ossrh-staging-api'
5859 repository(url : getReleaseRepositoryUrl()) {
5960 authentication(userName : getRepositoryUsername(), password : getRepositoryPassword())
6061 }
You can’t perform that action at this time.
0 commit comments