Skip to content

Commit 6954d3d

Browse files
authored
Update publish config (#158)
1 parent 8e9a13a commit 6954d3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
2+
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
33
}
44

55
autoConfigure {
@@ -99,8 +99,8 @@ private static String getPublicationName(Project project) {
9999
nexusPublishing {
100100
repositories {
101101
sonatype {
102-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
103-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
102+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
103+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
104104
username.set(System.getenv("MAVEN_USERNAME"))
105105
password.set(System.getenv("MAVEN_PASSWORD"))
106106
}

0 commit comments

Comments
 (0)