2015-10-05 20:41:32 +00:00
|
|
|
buildscript {
|
2022-07-29 10:23:36 +00:00
|
|
|
def androidTestAppDir = "../node_modules/react-native-test-app/android"
|
|
|
|
apply(from: "${androidTestAppDir}/dependencies.gradle")
|
|
|
|
apply(from: "${androidTestAppDir}/test-app-util.gradle")
|
2022-07-21 11:19:30 +00:00
|
|
|
|
2015-10-05 20:41:32 +00:00
|
|
|
repositories {
|
2022-07-21 11:19:30 +00:00
|
|
|
mavenCentral()
|
2022-07-29 10:23:36 +00:00
|
|
|
google()
|
2015-10-05 20:41:32 +00:00
|
|
|
}
|
2022-07-29 10:23:36 +00:00
|
|
|
|
2015-10-05 20:41:32 +00:00
|
|
|
dependencies {
|
2022-07-29 10:23:36 +00:00
|
|
|
classpath("com.android.tools.build:gradle:${androidPluginVersion}")
|
|
|
|
|
|
|
|
if (isNewArchitectureEnabled(project)) {
|
|
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
|
|
classpath("de.undercouch:gradle-download-task:5.1.0")
|
|
|
|
}
|
2015-10-05 20:41:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2016-04-11 04:13:01 +00:00
|
|
|
maven {
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
2022-07-29 10:23:36 +00:00
|
|
|
url("${rootDir}/../node_modules/react-native/android")
|
2022-07-21 11:19:30 +00:00
|
|
|
}
|
2022-07-29 10:23:36 +00:00
|
|
|
mavenCentral()
|
2022-07-21 11:19:30 +00:00
|
|
|
google()
|
|
|
|
maven { url 'https://www.jitpack.io' }
|
2015-10-05 20:41:32 +00:00
|
|
|
}
|
|
|
|
}
|