mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 09:12:02 +00:00
cfa45be2fc
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
28 lines
628 B
Groovy
28 lines
628 B
Groovy
// Copyright 2015-present Facebook. All Rights Reserved.
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
mavenLocal()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.5.0'
|
|
classpath 'de.undercouch:gradle-download-task:2.0.0'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
mavenLocal()
|
|
|
|
def androidSdk = System.getenv("ANDROID_SDK")
|
|
maven {
|
|
url "$androidSdk/extras/m2repository/"
|
|
}
|
|
}
|
|
}
|