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
This commit is contained in:
Martin Konicek 2016-04-21 05:06:29 -07:00 committed by Facebook Github Bot 9
parent 8b314726e9
commit cfa45be2fc
1 changed files with 5 additions and 0 deletions

View File

@ -18,5 +18,10 @@ allprojects {
repositories {
jcenter()
mavenLocal()
def androidSdk = System.getenv("ANDROID_SDK")
maven {
url "$androidSdk/extras/m2repository/"
}
}
}