We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad24ef1 commit bbabd3cCopy full SHA for bbabd3c
build.gradle.kts
@@ -138,8 +138,8 @@ publishing {
138
maven {
139
// MavenCentral
140
name = "OSSRH"
141
- val releasesRepoUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
142
- val snapshotsRepoUrl = "https://oss.sonatype.org/content/repositories/snapshots"
+ val releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
+ val snapshotsRepoUrl = "https://central.sonatype.com/repository/maven-snapshots/"
143
url = uri(if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl)
144
credentials {
145
username = System.getenv("MAVEN_USERNAME")
0 commit comments