Skip to content

Commit a94f238

Browse files
committed
Update URLs
1 parent f827235 commit a94f238

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

gradle/repositories.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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]'

0 commit comments

Comments
 (0)