From 9fc74b367e07e1067560211d0a6fae958ef5d22f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 Jan 2026 09:21:57 +0000 Subject: [PATCH 1/3] Initial plan From 77952117f87e0c972326f5998c61a932bfc70fca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 Jan 2026 09:24:56 +0000 Subject: [PATCH 2/3] Update Maven Central publication URLs to new Sonatype Central Portal Co-authored-by: mrdevrobot <12503462+mrdevrobot@users.noreply.github.com> --- scripts/publish-module.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish-module.gradle.kts b/scripts/publish-module.gradle.kts index 2c23d30..873aeb2 100644 --- a/scripts/publish-module.gradle.kts +++ b/scripts/publish-module.gradle.kts @@ -48,8 +48,8 @@ afterEvaluate { repositories { maven { name = "OSSRH" - val releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/" - val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/" + val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC" + val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC" url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) credentials { From 52776721c177254895396f0c982ce9a21f7b52a7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 20 Jan 2026 09:26:03 +0000 Subject: [PATCH 3/3] Simplify URL configuration with single unified endpoint Co-authored-by: mrdevrobot <12503462+mrdevrobot@users.noreply.github.com> --- scripts/publish-module.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/publish-module.gradle.kts b/scripts/publish-module.gradle.kts index 873aeb2..fc2983c 100644 --- a/scripts/publish-module.gradle.kts +++ b/scripts/publish-module.gradle.kts @@ -48,9 +48,9 @@ afterEvaluate { repositories { maven { name = "OSSRH" - val releasesRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC" - val snapshotsRepoUrl = "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC" - url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl) + // New Sonatype Central Portal uses unified endpoint for both releases and snapshots + val repoUrl = "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC" + url = uri(repoUrl) credentials { username = findProperty("ossrhUsername") as String? ?: System.getenv("OSSRH_USERNAME")