Skip to content

Commit 42f6d11

Browse files
committed
Add the new Sonatype URL
1 parent 40ef3c9 commit 42f6d11

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ nexusPublishing {
352352
sonatype {
353353
username = System.env.MAVEN_CENTRAL_USER
354354
password = System.env.MAVEN_CENTRAL_PASSWORD
355+
// https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
356+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
357+
// GraphQL Java does not publish snapshots, but adding this URL for completeness
358+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
355359
}
356360
}
357361
}

0 commit comments

Comments
 (0)