forked from EddyVerbruggen/nativescript-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinclude.gradle
51 lines (37 loc) · 1.64 KB
/
include.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
android {
productFlavors {
"fireb" {
dimension "fireb"
}
}
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
// make sure you have these versions by updating your local Android SDK's (Android Support repo and Google repo)
compile "com.google.firebase:firebase-core:10.2.+"
compile "com.google.firebase:firebase-database:10.2.+"
compile "com.google.firebase:firebase-auth:10.2.+"
// for converting Java objects to JS
compile "com.google.code.gson:gson:2.8.+"
// for reading google-services.json and configuration
def googlePlayServicesVersion = project.hasProperty('googlePlayServicesVersion') ? project.googlePlayServicesVersion : '10.2.+'
compile "com.google.android.gms:play-services-base:$googlePlayServicesVersion"
// Uncomment if you want to use 'Remote Config'
// compile "com.google.firebase:firebase-config:10.2.+"
// Uncomment if you want to use 'Crash Reporting'
// compile "com.google.firebase:firebase-crash:10.2.+"
// Uncomment if you want FCM (Firebase Cloud Messaging)
// compile "com.google.firebase:firebase-messaging:10.2.+"
// Uncomment if you want Google Cloud Storage
// compile 'com.google.firebase:firebase-storage:10.2.+'
// Uncomment if you want AdMob
// compile 'com.google.firebase:firebase-ads:10.2.+'
// Uncomment if you need Facebook Authentication
// compile "com.facebook.android:facebook-android-sdk:4.+"
// Uncomment if you need Google Sign-In Authentication
// compile "com.google.android.gms:play-services-auth:$googlePlayServicesVersion"
}
apply plugin: "com.google.gms.google-services"