mirror of
https://github.com/zhigang1992/react-native-firebase-starter.git
synced 2026-01-12 22:50:21 +08:00
* Update Firebase iOS SDK to v5.11.0 * Update build.gradle * Update build.gradle * Update package.json * Update build.gradle * misc v5.1.0 changes
43 lines
1.1 KiB
Groovy
43 lines
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext {
|
|
buildToolsVersion = "28.0.2"
|
|
minSdkVersion = 18
|
|
compileSdkVersion = 27
|
|
targetSdkVersion = 26
|
|
supportLibVersion = "27.1.1"
|
|
}
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
maven {
|
|
url 'https://maven.fabric.io/public'
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.2.0'
|
|
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'
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
google()
|
|
jcenter()
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url "$rootDir/../node_modules/react-native/android"
|
|
}
|
|
}
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '4.6'
|
|
distributionUrl = distributionUrl.replace("bin", "all")
|
|
}
|