From 53bf6e63ffbf51a54bd1e749053d0f36e80607b3 Mon Sep 17 00:00:00 2001 From: M0Coding Date: Thu, 7 Sep 2023 11:12:13 +0100 Subject: [PATCH] Update signing --- .../main/kotlin/root.publication.gradle.kts | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/convention-plugins/src/main/kotlin/root.publication.gradle.kts b/convention-plugins/src/main/kotlin/root.publication.gradle.kts index a208bd10..9507a6b4 100644 --- a/convention-plugins/src/main/kotlin/root.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/root.publication.gradle.kts @@ -11,14 +11,15 @@ nexusPublishing { // Configure maven central repository // https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh repositories { - sonatype { - nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) - snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) - stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID")) - println("OSSRH_USERNAME") - println(System.getenv("OSSRH_USERNAME")) - username.set(System.getenv("OSSRH_USERNAME")) - password.set(System.getenv("OSSRH_PASSWORD")) - } + sonatype() +// sonatype { +// nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) +// snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) +// stagingProfileId.set(System.getenv("OSSRH_STAGING_PROFILE_ID")) +// println("OSSRH_USERNAME") +// println(System.getenv("OSSRH_USERNAME")) +// username.set(System.getenv("OSSRH_USERNAME")) +// password.set(System.getenv("OSSRH_PASSWORD")) +// } } }