Skip to content

Commit cc7279b

Browse files
authored
Replace existing OSSRH endpoint with OSSRH staging api for publishing (#190)
## Problem Replace existing OSSRH endpoint with OSSRH staging api for publishing ## Solution Based on the central [docs](https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/), I have updated the OSSRH endpoint with portal's OSSRH staging api endpoint after migrating from OSSRH to central publisher portal. ## Type of Change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] This change requires a documentation update - [X] Infrastructure change (CI configs, etc) - [ ] Non-code change (docs, etc) - [ ] None of the above: (explain here) ## Test Plan Tested by publishing v5.0.0 and v5.0.0-rc1 versions.
1 parent 01d6e33 commit cc7279b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ publishing {
218218
nexusPublishing {
219219
repositories {
220220
sonatype {
221-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
222-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
221+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
222+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
223223
}
224224
}
225225
}

0 commit comments

Comments
 (0)