Skip to content

Commit

Permalink
Fix: nexus release
Browse files Browse the repository at this point in the history
  • Loading branch information
xfl03 committed Feb 1, 2023
1 parent a802200 commit 72058fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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"))
Expand Down

0 comments on commit 72058fa

Please sign in to comment.