Skip to content

Commit eabde29

Browse files
committed
Update publish.gradle
1 parent 07ac50c commit eabde29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎modulefs/publish.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ java {
55

66
def isSnapshot = project.getVersion().endsWith('SNAPSHOT')
77
def repoUrl = isSnapshot ? 'https://central.sonatype.com/repository/maven-snapshots/'
8-
: "https://central.sonatype.com/api/v1/publisher"
8+
: "https://central.sonatype.com"
99
def user = project.hasProperty('sonatypeUsername') ? project.property('sonatypeUsername') : System.getenv('SONATYPE_USERNAME')
1010
def pass = project.hasProperty('sonatypePassword') ? project.property('sonatypePassword') : System.getenv('SONATYPE_PASSWORD')
1111

@@ -66,7 +66,7 @@ signing {
6666
}
6767

6868
nexusStaging {
69-
serverUrl = "https://central.sonatype.com/api/v1/publisher"
69+
serverUrl = "https://central.sonatype.com"
7070
packageGroup = "io.xpipe"
7171
username = user
7272
password = pass

0 commit comments

Comments
 (0)