From 72058fac37567551e61c8fe42739db9c5a64d52e Mon Sep 17 00:00:00 2001 From: 33 Date: Thu, 2 Feb 2023 03:02:56 +0800 Subject: [PATCH] Fix: nexus release --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index cbfd902..4a3f240 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,8 @@ plugins { id("io.github.gradle-nexus.publish-plugin") } -version = "3.1.0-SNAPSHOT" +group = "dev.3-3" +version = "3.1.0" subprojects { //Real subproject DSL is located at `buildSrc/src/main/kotlin/dev.3-3.jmccc.gradle.kts` @@ -13,6 +14,7 @@ subprojects { nexusPublishing { repositories { sonatype { + // https://s01.oss.sonatype.org/#stagingRepositories nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/")) snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")) username.set(System.getenv("OSSRH_USERNAME"))