From 06fbb60806e655aa32f184cbfc0e1bd725bc4d05 Mon Sep 17 00:00:00 2001 From: Rick Clephas Date: Tue, 11 Jul 2023 19:20:50 +0200 Subject: [PATCH] Use s01.oss.sonatype.org --- .../src/main/kotlin/root.publication.gradle.kts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index dc80eac..152a07c 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -11,6 +11,9 @@ nexusPublishing { // Configure maven central repository // https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh repositories { - sonatype() + sonatype { //only for users registered in Sonatype after 24 Feb 2021 + nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) + snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) + } } }