@@ -161,8 +161,9 @@ afterEvaluate {
161161 repositories {
162162 maven {
163163 name = " sonatype"
164- val releasesRepoUrl = uri(" https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" )
165- val snapshotsRepoUrl = uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/" )
164+ // OSSRH (s01.oss.sonatype.org) was sunset on 2025-06-30.
165+ val releasesRepoUrl = uri(" https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" )
166+ val snapshotsRepoUrl = uri(" https://central.sonatype.com/repository/maven-snapshots/" )
166167 url = if (version.toString().endsWith(" SNAPSHOT" )) snapshotsRepoUrl else releasesRepoUrl
167168
168169 credentials {
@@ -184,21 +185,20 @@ afterEvaluate {
184185``` bash
185186cd atlantis-android
186187
187- # Publish to staging repository
188+ # Publish artifacts to Sonatype Central API
188189./gradlew :atlantis:publishReleasePublicationToSonatypeRepository
189190
190191# Or publish all publications
191192./gradlew :atlantis:publishAllPublicationsToSonatypeRepository
192193```
193194
194- ### 6. Release from Staging
195+ ### 6. Release in Central Portal
195196
196- 1 . Log in to https://s01.oss.sonatype.org
197- 2 . Go to "Staging Repositories"
198- 3 . Find your repository (named ` comproxyman-XXXX ` )
199- 4 . Click "Close" and wait for validation
200- 5 . If validation passes, click "Release"
201- 6 . Wait 10-30 minutes for sync to Maven Central
197+ 1 . Log in to https://central.sonatype.com
198+ 2 . Go to ` Publishing -> Deployments `
199+ 3 . Find your deployment for namespace ` com.proxyman `
200+ 4 . Click ` Publish ` (or wait if auto-publish is enabled)
201+ 5 . Wait 10-30 minutes for sync to Maven Central
202202
203203---
204204
@@ -344,7 +344,7 @@ Common issues:
344344- Missing Sources JAR
345345- Invalid signature
346346
347- Check the staging repository "Activity" tab for specific errors.
347+ Check deployment details in `https://central.sonatype.com/publishing/deployments` for specific validation errors.
348348
349349---
350350
0 commit comments