mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
6bfabee0f8
Summary: I wasn't able to run Android instrumentation tests locally from Android Studio without bumping the gradle plugin version and gradle version. I know that Facebook is planning to move away from Gradle into BUCK only, but this is a pretty straightforward change that seemed to fix it for me. Closes https://github.com/facebook/react-native/pull/9573 Differential Revision: D3770659 Pulled By: bestander fbshipit-source-id: 14cefef6071c4ade985a9b3b27cf37d16d670520
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:2.1.3'
|
|
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/"
|
|
}
|
|
}
|
|
}
|