57 lines
1.6 KiB
Groovy
57 lines
1.6 KiB
Groovy
// 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 {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:2.1.3'
|
|
}
|
|
}
|
|
// END
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 23
|
|
buildToolsVersion "23.0.1"
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 23
|
|
versionCode 1
|
|
versionName "1.0"
|
|
multiDexEnabled true
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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 {
|
|
compile 'com.facebook.react:react-native:0.20.+'
|
|
compile 'com.google.android.gms:play-services-base:9.8.0'
|
|
compile 'com.google.firebase:firebase-core:9.8.0'
|
|
compile 'com.google.firebase:firebase-config:9.8.0'
|
|
compile 'com.google.firebase:firebase-auth:9.8.0'
|
|
compile 'com.google.firebase:firebase-analytics:9.8.0'
|
|
compile 'com.google.firebase:firebase-database:9.8.0'
|
|
compile 'com.google.firebase:firebase-storage:9.8.0'
|
|
compile 'com.google.firebase:firebase-messaging:9.8.0'
|
|
}
|
|
|