Skip to content

Commit c7778b9

Browse files
committed
Migrate OSSRH Nexus to Maven Central Portal for release
1 parent b43b3fe commit c7778b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ allprojects { subproj ->
119119
mavenDeployer {
120120
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
121121

122-
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
122+
repository(url: "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC") {
123123
authentication(userName: "$ossrhUsername", password: "$ossrhPassword")
124124
}
125125

126-
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
126+
snapshotRepository(url: "https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC") {
127127
authentication(userName: "$ossrhUsername", password: "$ossrhPassword")
128128
}
129129

0 commit comments

Comments
 (0)