Skip to content

Commit bf4d166

Browse files
authored
Update maven central release and snapshot destinations
1 parent 6adc604 commit bf4d166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ ext {
5252

5353
getReleaseRepositoryUrl = {
5454
return project.hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
55-
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
55+
: "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
5656
}
5757

5858
getSnapshotRepositoryUrl = {
5959
return project.hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
60-
: "https://oss.sonatype.org/content/repositories/snapshots/"
60+
: "https://central.sonatype.com/repository/maven-snapshots/"
6161
}
6262

6363
getRepositoryUsername = {
@@ -117,4 +117,4 @@ if (JavaVersion.current().isJava8Compatible()) {
117117
options.addStringOption('Xdoclint:none', '-quiet')
118118
}
119119
}
120-
}
120+
}

0 commit comments

Comments
 (0)