Skip to content

Commit 9496d52

Browse files
committed
fix: repository configuration for release
1 parent 22a8c33 commit 9496d52

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

gradle/profile-release.gradle

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,11 @@ javadoc {
4949
//see https://github.com/gradle-nexus/publish-plugin
5050
nexusPublishing {
5151
repositories {
52-
//select sonatype repository as publication destination
53-
//uses pre-configured URLs, e.g. https://oss.sonatype.org/
54-
sonatype()
55-
//for alternate publication desination define nexusUrl and snapshotRepositoryUrl
56-
//also relevant for users registered in Sonatype after 24 Feb 2021
57-
//sonatype {
58-
// nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
59-
// snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
60-
//}
52+
//select sonatype repository as publication destination
53+
sonatype {
54+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
55+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
56+
}
6157
}
6258
}
6359

0 commit comments

Comments
 (0)