Skip to content

Commit b8e3d0a

Browse files
committed
<fix>(build): update publish url to central.sonatype.
1 parent 3467344 commit b8e3d0a

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
@@ -254,10 +254,10 @@ publishing {
254254
}
255255
repositories {
256256
maven {
257-
def releasesRepoURL = "https://oss.sonatype.org/service/local/staging/deploy/maven2"
258-
def snapshotsRepoURL = "https://oss.sonatype.org/content/repositories/snapshots"
257+
name = 'ossrh-staging-api'
258+
def releasesRepoURL = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
259+
def snapshotsRepoURL = "https://central.sonatype.com/repository/maven-snapshots/"
259260
url = !version.endsWith("SNAPSHOT") ? releasesRepoURL : snapshotsRepoURL
260-
261261
credentials {
262262
username ossrhUsername
263263
password ossrhPassword

0 commit comments

Comments
 (0)