From 75a48bacd5523d9081986b82779545e90ef3a1ab Mon Sep 17 00:00:00 2001 From: Pim van Nierop Date: Thu, 23 Oct 2025 15:14:06 +0200 Subject: [PATCH 1/2] fix: nexus staging repo url --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 3e780e68..efe7167f 100644 --- a/build.gradle +++ b/build.gradle @@ -115,6 +115,8 @@ tasks.named("dependencyUpdates").configure { 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 = project.hasProperty("ossrh.user") ? project.property("ossrh.user") : System.getenv("OSSRH_USER") password = project.hasProperty("ossrh.password") ? project.property("ossrh.password") : System.getenv("OSSRH_PASSWORD") } From 4f24a713489dc1f9d325fc1d275de64fd393915f Mon Sep 17 00:00:00 2001 From: this-Aditya Date: Thu, 23 Oct 2025 18:53:44 +0530 Subject: [PATCH 2/2] Updating to groovy style instead of kotlin dsl --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index efe7167f..1098d5c5 100644 --- a/build.gradle +++ b/build.gradle @@ -115,8 +115,9 @@ tasks.named("dependencyUpdates").configure { 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/")) + nexusUrl = uri("https://ossrh-staging-api.central.sonatype.com/service/local/") + snapshotRepositoryUrl = uri("https://central.sonatype.com/repository/maven-snapshots/") + username = project.hasProperty("ossrh.user") ? project.property("ossrh.user") : System.getenv("OSSRH_USER") password = project.hasProperty("ossrh.password") ? project.property("ossrh.password") : System.getenv("OSSRH_PASSWORD") }