Skip to content

Commit 085ad10

Browse files
1 parent c77d36a commit 085ad10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ task javadocJar(type: Jar) {
4747

4848
nexusPublishing {
4949
repositories {
50-
sonatype()
50+
// see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
51+
sonatype {
52+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
53+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
54+
}
5155
}
5256
}
5357

0 commit comments

Comments
 (0)