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 @@ -98,7 +98,10 @@ nexusPublishing {
9898 allowInsecureProtocol = true
9999 }
100100 } else {
101+ // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
101102 sonatype {
103+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
104+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
102105 username = System . getenv(" SONATYPE_USERNAME" )
103106 password = System . getenv(" SONATYPE_PASSWORD" )
104107 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ repositories {
1515 mavenContent {
1616 snapshotsOnly()
1717 }
18- url ' https://oss. sonatype.org /content/repositories/snapshots/'
18+ url ' https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots/'
1919 }
2020 ivy {
2121 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