[android] Upgrade project to FB v11.0.0

This commit is contained in:
Elliot Hesp 2017-06-12 14:43:04 +01:00
parent 4c87131328
commit 262b02cb2b
1 changed files with 32 additions and 31 deletions

View File

@ -2,13 +2,13 @@
// YES, jcenter is required twice - it somehow tricks studio into compiling deps below // YES, jcenter is required twice - it somehow tricks studio into compiling deps below
// doesn't break anything anywhere else and projects using this lib work as normal // doesn't break anything anywhere else and projects using this lib work as normal
buildscript { buildscript {
ext.firebaseVersion = '10.2.6' ext.firebaseVersion = '11.0.0'
repositories { repositories {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.1.3' classpath 'com.android.tools.build:gradle:2.3.2'
} }
} }
// END // END
@ -16,21 +16,22 @@ buildscript {
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {
compileSdkVersion 25 compileSdkVersion 25
buildToolsVersion "23.0.3" buildToolsVersion "23.0.3"
defaultConfig {
defaultConfig { minSdkVersion 16
minSdkVersion 16 targetSdkVersion 26
targetSdkVersion 25 versionCode 1
versionCode 1 versionName "1.0"
versionName "1.0" multiDexEnabled true
multiDexEnabled true }
} buildTypes {
buildTypes { release {
release { minifyEnabled false
minifyEnabled false
}
} }
}
productFlavors {
}
} }
// START - required to allow working on this project inside Android Studio // START - required to allow working on this project inside Android Studio
@ -45,19 +46,19 @@ allprojects {
// END // END
dependencies { dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs') compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.facebook.react:react-native:+' compile 'com.facebook.react:react-native:+'
compile 'me.leolin:ShortcutBadger:1.1.10@aar' compile 'me.leolin:ShortcutBadger:1.1.10@aar'
compile "com.google.android.gms:play-services-base:$firebaseVersion" compile "com.google.android.gms:play-services-base:$firebaseVersion"
compile "com.google.firebase:firebase-core:$firebaseVersion" compile "com.google.firebase:firebase-core:$firebaseVersion"
compile "com.google.firebase:firebase-config:$firebaseVersion" compile "com.google.firebase:firebase-config:$firebaseVersion"
compile "com.google.firebase:firebase-auth:$firebaseVersion" compile "com.google.firebase:firebase-auth:$firebaseVersion"
compile "com.google.firebase:firebase-analytics:$firebaseVersion" compile "com.google.firebase:firebase-analytics:$firebaseVersion"
compile "com.google.firebase:firebase-database:$firebaseVersion" compile "com.google.firebase:firebase-database:$firebaseVersion"
compile "com.google.firebase:firebase-storage:$firebaseVersion" compile "com.google.firebase:firebase-storage:$firebaseVersion"
compile "com.google.firebase:firebase-messaging:$firebaseVersion" compile "com.google.firebase:firebase-messaging:$firebaseVersion"
compile "com.google.firebase:firebase-crash:$firebaseVersion" compile "com.google.firebase:firebase-crash:$firebaseVersion"
compile "com.google.firebase:firebase-config:$firebaseVersion" compile "com.google.firebase:firebase-config:$firebaseVersion"
compile "com.google.firebase:firebase-perf:$firebaseVersion" compile "com.google.firebase:firebase-perf:$firebaseVersion"
compile "com.google.firebase:firebase-ads:$firebaseVersion" compile "com.google.firebase:firebase-ads:$firebaseVersion"
} }