From a1424bcb5299d76634392b4dd3f815eca5de7989 Mon Sep 17 00:00:00 2001 From: Nhat Date: Fri, 8 Jul 2016 17:32:19 +0700 Subject: [PATCH] Upgrade gradle to match the version in react native. Change url of react native repository so that it loads the correct local version. --- android/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 9c99beec..6d0cdb81 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -4,7 +4,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:1.1.3' + classpath 'com.android.tools.build:gradle:2.1.0' } } @@ -30,7 +30,7 @@ repositories { jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm - url "$projectDir/../../node_modules/react-native/android" + url "$projectDir/../../../node_modules/react-native/android" } }