Skip to content

Commit 8c55dd1

Browse files
committed
use sonatype staging api
1 parent aaac1de commit 8c55dd1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

gradle/promote.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ nexusPublishing {
2929
in system environments
3030
be sure to set the variable names exactly as above.
3131
*/
32-
sonatype()
32+
sonatype {
33+
// New Portal OSSRH Staging API endpoints
34+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
35+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
36+
}
3337
}
3438
}

settings.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pluginManagement {
88
dependencyResolutionManagement {
99
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
1010
repositories {
11-
mavenLocal()
1211
google()
1312
mavenCentral()
1413
}

0 commit comments

Comments
 (0)