Files
react-native-firebase-starter/android/build.gradle
Hein Rutjes c96fafcf3f Upgrade to react-native-firebase v5.0.0 and react-native 0.57.1 (#61)
* Upgrade to RN57.1

* Upgraded to latest Firebase dependencies

* Upgraded to react-native-firebase 5.0.0

* Removed package-lock.json (for those ppl that use yarn)

* Excluded lock files

* Fixed android build

* Updated index.js to default version

* Minor updates to sync the project as close to a fresh RN generated project as possible

* Disabled Invites pod on iOS because of misconfiguration exception

* Bump Crashlytics pods

* XCode 10 auto-added several AppIcon assets

* Auto updates of XCode 10 + removed Invites files

* Disabled new XCode 10 build system due to incompatibility issues which have not yet been resolved in RN57

* Added script to build Android APKs

* Revert back to RN 0.57.1, as 0.57.2 contains a regression causing the bundler to now work out of the box

https://github.com/facebook/react-native/issues/21490

* [android] update firebase sdk versions

* [android] update to gradle v4.6

* replace old logo

* misc js changes
2018-10-11 17:27:43 +01:00

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 = "27.0.3"
minSdkVersion = 16
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
}
repositories {
jcenter()
google()
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()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
google()
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.6'
distributionUrl = distributionUrl.replace("bin", "all")
}