We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60decf1 commit cc25489Copy full SHA for cc25489
1 file changed
publish.gradle
@@ -13,8 +13,8 @@ ext.configurePublishing = { packageName, packageDesc, packageVersion ->
13
repositories {
14
maven {
15
name = 'MavenCentral'
16
- def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
17
- def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
+ def releasesRepoUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2'
+ def snapshotsRepoUrl = 'https://central.sonatype.com/repository/maven-snapshots'
18
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
19
credentials {
20
username = System.getenv('NEXUS_UPD_ID')?.trim() ?: ''
0 commit comments