2017-03-02 11:30:08 +00:00
|
|
|
// START - required to allow working on this project inside Android Studio
|
|
|
|
// 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
|
|
|
|
buildscript {
|
2017-06-12 13:43:04 +00:00
|
|
|
ext.firebaseVersion = '11.0.0'
|
2017-05-23 06:15:45 +00:00
|
|
|
|
2017-03-02 11:30:08 +00:00
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2017-06-12 13:43:04 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:2.3.2'
|
2017-03-02 11:30:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// END
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
|
|
|
|
android {
|
2017-06-12 13:43:04 +00:00
|
|
|
compileSdkVersion 25
|
|
|
|
buildToolsVersion "23.0.3"
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 16
|
|
|
|
targetSdkVersion 26
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
multiDexEnabled true
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
2017-03-02 11:30:08 +00:00
|
|
|
}
|
2017-06-12 13:43:04 +00:00
|
|
|
}
|
|
|
|
productFlavors {
|
|
|
|
}
|
2017-03-02 11:30:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// START - required to allow working on this project inside Android Studio
|
|
|
|
// 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
|
|
|
|
// you'll now have code completion/validation and all the other AS goodies.
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// END
|
|
|
|
|
|
|
|
dependencies {
|
2017-06-12 13:43:04 +00:00
|
|
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
compile 'com.facebook.react:react-native:+'
|
|
|
|
compile 'me.leolin:ShortcutBadger:1.1.10@aar'
|
|
|
|
compile "com.google.android.gms:play-services-base:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-core:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-config:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-auth:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-analytics:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-database:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-storage:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-messaging:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-crash:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-config:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-perf:$firebaseVersion"
|
|
|
|
compile "com.google.firebase:firebase-ads:$firebaseVersion"
|
2017-03-02 11:30:08 +00:00
|
|
|
}
|