/
build.gradle
89 lines (72 loc) · 3.11 KB
/
build.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'org.jetbrains.kotlin.android.extensions'
android {
testBuildType "release"
compileSdkVersion 29
defaultConfig {
applicationId "com.google.firebase.example.fireeats"
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0"
multiDexEnabled true
vectorDrawables.useSupportLibrary true
lintOptions {
disable 'InvalidPackage'
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
testProguardFiles getDefaultProguardFile('proguard-android.txt'), 'test-proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
}
androidExtensions {
experimental = true
}
dependencies {
implementation project(":internal:lintchecks")
implementation project(":internal:chooserx")
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.71"
// Firestore (Java)
implementation 'com.google.firebase:firebase-firestore:21.4.1'
// Firestore (Kotlin)
implementation 'com.google.firebase:firebase-firestore-ktx:21.4.1'
// Other Firebase/Play services deps
implementation 'com.google.firebase:firebase-auth:19.3.0'
implementation 'com.google.android.gms:play-services-auth:17.0.0'
// FirebaseUI (for authentication)
implementation 'com.firebaseui:firebase-ui-auth:6.2.1'
// Support Libs
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core:1.2.0'
implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.browser:browser:1.0.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.media:media:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.multidex:multidex:2.0.1'
// Android architecture components
implementation 'androidx.lifecycle:lifecycle-runtime:2.2.0'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.2.0'
// Third-party libraries
implementation 'me.zhanghai.android.materialratingbar:library:1.4.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.2.0'
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
androidTestImplementation 'junit:junit:4.13'
androidTestImplementation 'org.hamcrest:hamcrest-library:2.2'
androidTestImplementation 'com.google.firebase:firebase-auth:19.3.0'
}
apply plugin: 'com.google.gms.google-services'