Skip to content

Commit 367da4c

Browse files
Update publish endpoints (#1294)
Update build.gradle.kts
1 parent 6b5dce5 commit 367da4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-SDK/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ fun getRepositoryPassword(): String {
148148

149149
fun getReleaseRepositoryUrl(): String {
150150
return project.findProperty("RELEASE_REPOSITORY_URL") as? String
151-
?: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
151+
?: "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
152152
}
153153

154154
fun getSnapshotRepositoryUrl(): String {
155155
return project.findProperty("SNAPSHOT_REPOSITORY_URL") as? String
156-
?: "https://oss.sonatype.org/content/repositories/snapshots/"
156+
?: "https://central.sonatype.com/repository/maven-snapshots/"
157157
}
158158

159159
fun getRepositoryUrl(): String {

0 commit comments

Comments
 (0)