diff --git a/build.gradle b/build.gradle index 68cf63159..844b3925e 100644 --- a/build.gradle +++ b/build.gradle @@ -81,6 +81,11 @@ nexusPublishing { // staging repo publishing https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration // snapshot publishing https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods sonatype { + // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration + // see https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-central + // Also for official doc + // staging repo publishing https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration + // snapshot publishing https://central.sonatype.org/publish/publish-portal-snapshots/#publishing-via-other-methods nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))