From 73dcd5ac3a3b6a4170be2622abf7717303454160 Mon Sep 17 00:00:00 2001 From: omerazmon-idme Date: Wed, 15 Apr 2026 13:34:28 -0700 Subject: [PATCH] AI-250: Switch Sonatype publishing to Central Portal The namespace com.idmelabs.auth is registered on the new Central Portal (central.sonatype.com), not legacy OSSRH (s01.oss.sonatype.org), causing HTTP 402 on staging profile initialization. Co-Authored-By: Claude Opus 4.6 Signed-off-by: omerazmon-idme --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index b6fae28..c4ed5d2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,8 +20,8 @@ apply(plugin = "io.github.gradle-nexus.publish-plugin") configure { repositories { sonatype { - nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) - snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) username.set(findProperty("sonatypeUsername")?.toString() ?: System.getenv("SONATYPE_USERNAME")) password.set(findProperty("sonatypePassword")?.toString() ?: System.getenv("SONATYPE_PASSWORD")) }