From 70c715bed9fb40308a017b897e4bd757543049d4 Mon Sep 17 00:00:00 2001 From: Rob Greene Date: Wed, 9 May 2018 21:57:24 -0500 Subject: [PATCH] Trying to remove signing dependencies when not signing. #24. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index fc27093..77cead8 100644 --- a/build.gradle +++ b/build.gradle @@ -165,11 +165,11 @@ uploadArchives { beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { - authentication(userName: ossrhUsername, password: ossrhPassword) + authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword')) } snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { - authentication(userName: ossrhUsername, password: ossrhPassword) + authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword')) } // Only preserve the compile and non-SWT POM dependencies