From f880800dc6e50ce5e5abf8216e10462a75bb297c Mon Sep 17 00:00:00 2001 From: Varun Jain Date: Tue, 21 Feb 2023 13:54:37 -0800 Subject: [PATCH] Decoupling Snapshots for my v2.6.0 Signed-off-by: Varun Jain --- build.gradle | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index bc221aba..cbcd2a26 100644 --- a/build.gradle +++ b/build.gradle @@ -97,16 +97,6 @@ allprojects { url = "${rootProject.buildDir}/local-staging-repo" } } - repositories { - maven { - name = "Snapshots" // optional target repository name - url = "https://aws.oss.sonatype.org/content/repositories/snapshots" - credentials { - username "$System.env.SONATYPE_USERNAME" - password "$System.env.SONATYPE_PASSWORD" - } - } - } publications { // add license information to generated poms all { @@ -138,6 +128,16 @@ publishing { } } } + repositories { + maven { + name = "Snapshots" // optional target repository name + url = "https://aws.oss.sonatype.org/content/repositories/snapshots" + credentials { + username "$System.env.SONATYPE_USERNAME" + password "$System.env.SONATYPE_PASSWORD" + } + } + } } repositories {