From 4c4be210d7e85516e9bc016cb1a8b5196b600979 Mon Sep 17 00:00:00 2001 From: czp Date: Wed, 31 Jan 2018 14:47:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20gradle=20=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 871fb7e..32f4af4 100644 --- a/build.gradle +++ b/build.gradle @@ -64,10 +64,10 @@ uploadArchives { signing.signPom(deployment) } - if (!hasProperty('ossUsername')) { + if (!project.hasProperty('ossUsername')) { ext.ossUsername = '' } - if (!hasProperty('ossPassword')) { + if (!project.hasProperty('ossPassword')) { ext.ossPassword = '' } repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/') {