mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-17 12:19:21 +08:00
* [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]
68 lines
1.4 KiB
Groovy
Executable File
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")
|
|
}
|