File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def getReleaseRepositoryUrl() {
2222 : " https://ossrh-staging-api.central.sonatype.com/service/local/"
2323}
2424
25- def getSnapshotRepositoryUrl () {
25+ def getProjectSnapshotRepositoryUrl () {
2626 return hasProperty(' SNAPSHOT_REPOSITORY_URL' ) ? SNAPSHOT_REPOSITORY_URL
2727 : " https://central.sonatype.com/repository/maven-snapshots/"
2828}
@@ -40,7 +40,7 @@ nexusPublishing {
4040 repositories {
4141 maven {
4242 nexusUrl. set(uri(getReleaseRepositoryUrl()))
43- snapshotRepositoryUrl. set(uri(getSnapshotRepositoryUrl ()))
43+ snapshotRepositoryUrl. set(uri(getProjectSnapshotRepositoryUrl ()))
4444 username = getRepositoryUsername()
4545 password = getRepositoryPassword()
4646 stagingProfileId = STAGING_PROFILE_ID
You can’t perform that action at this time.
0 commit comments