Skip to content

Commit f36b229

Browse files
committed
build: migrate to Central Portal publishing
1 parent 4b27416 commit f36b229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ ext.configurePublishing = { packageName, packageDesc, packageVersion ->
1313
repositories {
1414
maven {
1515
name = 'MavenCentral'
16-
def releasesRepoUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2'
17-
def snapshotsRepoUrl = 'https://oss.sonatype.org/content/repositories/snapshots'
16+
def releasesRepoUrl = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2'
17+
def snapshotsRepoUrl = 'https://central.sonatype.com/repository/maven-snapshots'
1818
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
1919
credentials {
2020
username = System.getenv('NEXUS_UPD_ID')?.trim() ?: ''

0 commit comments

Comments
 (0)