File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,10 @@ nexusPublishing {
9999 allowInsecureProtocol = true
100100 }
101101 } else {
102+ // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
102103 sonatype {
104+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
105+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
103106 username = System . getenv(" SONATYPE_USERNAME" )
104107 password = System . getenv(" SONATYPE_PASSWORD" )
105108 }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ repositories {
1818 mavenContent {
1919 snapshotsOnly()
2020 }
21- url ' https://oss. sonatype.org /content/repositories/snapshots/'
21+ url ' https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/'
2222 }
2323 ivy {
2424 artifactPattern ' https://sqreen-ci-java.s3.amazonaws.com/jars/[organisation]/[artifact]-[revision](-[classifier]).[ext]'
You can’t perform that action at this time.
0 commit comments