File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
repositories {
3
3
mavenCentral()
4
- // Add only for SNAPSHOT versions
5
- // maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
6
4
}
7
5
}
8
6
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ def isReleaseBuild() {
15
15
16
16
def getReleaseRepositoryUrl () {
17
17
return hasProperty(" RELEASE_REPOSITORY_URL" ) ? RELEASE_REPOSITORY_URL
18
- : " https://oss. sonatype.org /service/local/staging/deploy/maven2/"
18
+ : " https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/"
19
19
}
20
20
21
21
def getSnapshotRepositoryUrl () {
22
22
return hasProperty(" SNAPSHOT_REPOSITORY_URL" ) ? SNAPSHOT_REPOSITORY_URL
23
- : " https://oss. sonatype.org /content/repositories/snapshots/"
23
+ : " https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/"
24
24
}
25
25
26
26
def getRepositoryUsername () {
You can’t perform that action at this time.
0 commit comments