Files
react-native-firebase/tests/android/build.gradle
Mike Hardy d98b80ea2f chore: retry all soft-fail Android E2E steps, add logging to iOS E2E (#4084)
* Allow test app to install external if it wants
It is quite large and managing emulator internal space is important

* Bump gradle in test app to 6.6, kotlin to current, compile/target SDKs to 29
Includes output of `./gradlew wrapper` to regenerate everything

* E2E action no longer needs special cache handling
Upstream bug resolved

* Increase emulator RAM and disable JNI checking in E2E test
This should speed things up a bit, increasing success rate vs timeouts

* Add iOS Detox tracing to E2E config
Should help diagnose iOS flakiness there

* Remove JDK8 config in Android E2E config
It is the default on macOS 10.15 runner, so special setup unnecessary

* Use Xcode 11.6 (current) for iOS E2E run
This is the default, so special configuration not needed, but
still need to extract the Xcode version for Detox build cache

* Decompose Android E2E tasks, retry all flaky steps
2020-08-14 09:32:39 -05:00

64 lines
1.5 KiB
Groovy

buildscript {
ext.kotlinVersion = '1.3.70'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.google.gms:google-services:4.3.3'
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath 'com.google.firebase:perf-plugin:1.3.0'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
}
}
allprojects {
println "${project.name} ${projectDir} ${rootDir}"
repositories {
google()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
// maven {
// // Detox as an .aar file (we're going to use it as a compile dependency though, to patch it)
// url "$rootDir/../node_modules/detox/Detox-android"
// }
jcenter()
}
}
subprojects {
task listAllDependencies(type: DependencyReportTask) {}
ext {
compileSdk = 29
buildTools = "29.0.2"
minSdk = 21
targetSdk = 29
}
afterEvaluate { project ->
if (!project.name.equalsIgnoreCase("app")
&& project.hasProperty("android")) {
android {
compileSdkVersion compileSdk
buildToolsVersion buildTools
defaultConfig {
minSdkVersion minSdk
targetSdkVersion targetSdk
}
}
}
}
}