From 68c9a566546834ab7fb2bf2eb02932d75272301a Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Fri, 6 Jun 2025 15:16:17 -0700 Subject: [PATCH] update sonatype central urls --- build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 34108c1..e408df3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -111,7 +111,10 @@ nexusPublishing { packageGroup.set("io.opentelemetry") repositories { + // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration 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_USER")) password.set(System.getenv("SONATYPE_KEY")) }