From cfa45be2fc46937fbf218e720d89699d603715f3 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Thu, 21 Apr 2016 05:06:29 -0700 Subject: [PATCH] Support non-standard path of Android Support Repository Summary:This is needed in cases when the Android Support Repository is on a non-standard path. **Test plan (required)** CircleCI tests on this pull request. Closes https://github.com/facebook/react-native/pull/7096 Differential Revision: D3207267 Pulled By: mkonicek fb-gh-sync-id: 7539407f485341352faadc3b07d2c1459e0527f5 fbshipit-source-id: 7539407f485341352faadc3b07d2c1459e0527f5 --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index eed2379a8..e3bb2fa3f 100644 --- a/build.gradle +++ b/build.gradle @@ -18,5 +18,10 @@ allprojects { repositories { jcenter() mavenLocal() + + def androidSdk = System.getenv("ANDROID_SDK") + maven { + url "$androidSdk/extras/m2repository/" + } } }