From 0c43069af3f45d9892b2d2ab4bd42491630a03c2 Mon Sep 17 00:00:00 2001 From: Anton Sviridov Date: Wed, 2 Jul 2025 12:53:05 +0100 Subject: [PATCH] Attempt to use central portal's staging APIs for smoother migration --- build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 060ab0ad..97a0f995 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -44,6 +44,8 @@ repositories { nexusPublishing { repositories { sonatype { + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) username.set(System.getenv("SONATYPE_USERNAME")) password.set(System.getenv("SONATYPE_PASSWORD")) }