Files
react-native-firebase/tests/android/build.gradle
Michael Diarmid fa7b98895e Re-configure Android CI (#1488)
* [tests][wip] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] re-configure android ci

* [tests] disable gradle daemon

* [tests] misc

* [tests] misc

* misc ci

* ci

* ci

* ci

* ci

* ci

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* switch to rnfb docker image

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [ios][auth] cleanup and add new auth error codes

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]

* [tests][ci]
2018-12-09 19:37:11 +01:00

68 lines
1.4 KiB
Groovy
Executable File

buildscript {
repositories {
google()
maven {
url 'https://maven.fabric.io/public'
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.0.1'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
classpath 'io.fabric.tools:gradle:1.25.4'
}
}
allprojects {
task downloadDependencies() {
description 'Download all dependencies to the Gradle cache'
doLast {
configurations.findAll().each { config ->
if (config.name.contains("minReactNative") && config.canBeResolved) {
print config.name
print '\n'
config.files
}
}
}
}
repositories {
mavenLocal()
google()
maven {
url "$rootDir/../node_modules/react-native/android"
}
jcenter()
}
}
subprojects {
task listAllDependencies(type: DependencyReportTask) {}
ext {
compileSdk = 27
buildTools = "28.0.3"
minSdk = 18
targetSdk = 26
}
afterEvaluate { project ->
if (!project.name.equalsIgnoreCase("app")
&& project.hasProperty("android")) {
android {
compileSdkVersion compileSdk
buildToolsVersion buildTools
defaultConfig {
minSdkVersion minSdk
targetSdkVersion targetSdk
}
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
distributionUrl = distributionUrl.replace("bin", "all")
}