From 439fdc812c4f194e76ceba09f1385005ba4ef50e Mon Sep 17 00:00:00 2001 From: Boris Yankov Date: Sun, 23 Sep 2018 15:44:54 +0300 Subject: [PATCH] Update Gradle configs Configure project-wide properties. https://developer.android.com/studio/build/gradle-tips#configure-project-wide-properties --- android/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 2b528227c01..e880354ecf3 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,6 +13,10 @@ buildscript { repositories { jcenter() google() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { classpath 'com.android.tools.build:gradle:3.1.4' @@ -31,5 +35,14 @@ allprojects { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url "$rootDir/../node_modules/react-native/android" } + maven { + url 'https://maven.google.com/' + name 'Google' + } } } + +task wrapper(type: Wrapper) { + gradleVersion = '4.4' + distributionUrl = distributionUrl.replace("bin", "all") +} \ No newline at end of file