From aa4fa01773e1c6d22049c5783aef18dcc3841413 Mon Sep 17 00:00:00 2001 From: Sasha Nikiforov Date: Fri, 23 Feb 2018 14:21:25 -0800 Subject: [PATCH] Update ReactAndroid build script to support gradle 2.3.0 --- ReactAndroid/release.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReactAndroid/release.gradle b/ReactAndroid/release.gradle index 13cfbaf826ad3f..3e67beb0a3f270 100644 --- a/ReactAndroid/release.gradle +++ b/ReactAndroid/release.gradle @@ -12,15 +12,15 @@ def isReleaseBuild() { } def getRepositoryUrl() { - return hasProperty('repositoryUrl') ? property('repositoryUrl') : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' + return project.hasProperty('repositoryUrl') ? property('repositoryUrl') : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' } def getRepositoryUsername() { - return hasProperty('repositoryUsername') ? property('repositoryUsername') : '' + return project.hasProperty('repositoryUsername') ? property('repositoryUsername') : '' } def getRepositoryPassword() { - return hasProperty('repositoryPassword') ? property('repositoryPassword') : '' + return project.hasProperty('repositoryPassword') ? property('repositoryPassword') : '' } def configureReactNativePom(def pom) {