1
1
apply plugin : ' com.android.application'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-android-extensions'
4
+ apply plugin : ' com.google.gms.google-services'
4
5
apply plugin : ' kotlin-kapt'
5
6
apply plugin : ' deploygate'
6
7
@@ -25,6 +26,14 @@ android {
25
26
}
26
27
}
27
28
29
+ buildFeatures {
30
+ dataBinding true
31
+ }
32
+
33
+ viewBinding {
34
+ enabled = true
35
+ }
36
+
28
37
packagingOptions {
29
38
exclude ' META-INF/AL2.0'
30
39
exclude ' META-INF/LGPL2.1'
@@ -35,6 +44,12 @@ android {
35
44
option(" -Xmaxerrs" , 5000 )
36
45
}
37
46
}
47
+
48
+ testOptions {
49
+ unitTests {
50
+ includeAndroidResources = true
51
+ }
52
+ }
38
53
}
39
54
40
55
dependencies {
@@ -46,15 +61,36 @@ dependencies {
46
61
testImplementation ' junit:junit:4.12'
47
62
androidTestImplementation ' androidx.test.ext:junit:1.1.2'
48
63
androidTestImplementation ' androidx.test.espresso:espresso-core:3.3.0'
64
+ implementation ' com.google.android.material:material:1.2.1'
49
65
66
+ // dagger
50
67
def dagger_version = " 2.29.1"
51
68
implementation " com.google.dagger:dagger:$dagger_version "
52
69
kapt " com.google.dagger:dagger-compiler:$dagger_version "
53
70
71
+ // coroutine
54
72
def coroutine_version = " 1.3.9"
55
73
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutine_version "
56
74
implementation " org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutine_version "
57
75
58
76
// deploy gate
59
77
implementation ' com.deploygate:sdk:4.1.0'
60
- }
78
+
79
+ // Firebase
80
+ implementation ' com.google.firebase:firebase-analytics:17.5.0'
81
+ implementation ' com.google.firebase:firebase-auth:19.4.0'
82
+ implementation ' com.firebaseui:firebase-ui-auth:6.2.0'
83
+
84
+ // test
85
+ testImplementation ' junit:junit:4.12'
86
+ testImplementation ' org.robolectric:robolectric:4.4'
87
+ testImplementation ' androidx.test:core:1.3.0'
88
+ testImplementation ' org.mockito:mockito-core:3.3.3'
89
+ testImplementation ' org.mockito:mockito-android:3.3.3'
90
+ testImplementation " com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
91
+ androidTestImplementation ' androidx.annotation:annotation:1.1.0'
92
+ androidTestImplementation ' androidx.test.ext:junit:1.1.2'
93
+
94
+ // other
95
+ implementation ' com.jakewharton.timber:timber:4.7.1'
96
+ }
0 commit comments