aboutsummaryrefslogtreecommitdiff
path: root/sample/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-06-15 20:11:12 -0700
committerAllan Wang <me@allanwang.ca>2020-06-15 20:11:12 -0700
commit69b2d504934eab4e69b7ef9a574c6c7560cee54b (patch)
tree1da1badbefc8c3686b918d61dd92ad5896f4c7b9 /sample/build.gradle
parent9aff74e3f14cc257e53dc2b8a18658b91e0a2802 (diff)
downloadkau-69b2d504934eab4e69b7ef9a574c6c7560cee54b.tar.gz
kau-69b2d504934eab4e69b7ef9a574c6c7560cee54b.tar.bz2
kau-69b2d504934eab4e69b7ef9a574c6c7560cee54b.zip
Update AS and add hilt usage
Diffstat (limited to 'sample/build.gradle')
-rw-r--r--sample/build.gradle13
1 files changed, 10 insertions, 3 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index 96ed78f..b36e3f5 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -2,8 +2,10 @@ import kau.Dependencies
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'com.github.triplet.play'
+apply plugin: 'dagger.hilt.android.plugin'
play {
serviceAccountCredentials = file('../files/gplay-keys.json')
@@ -135,12 +137,16 @@ dependencies {
implementation project(':searchview')
implementation project(':mediapicker')
+ implementation "com.google.dagger:hilt-android:2.28-alpha"
+ kapt "com.google.dagger:hilt-android-compiler:2.28-alpha"
+
implementation Dependencies.materialDialog("input")
- implementation Dependencies.koin
testImplementation Dependencies.kotlinTest
testImplementation Dependencies.junit
- testImplementation Dependencies.koinTest
+ testImplementation 'com.google.dagger:hilt-android-testing:2.28-alpha'
+ kaptTest 'com.google.dagger:hilt-android-compiler:2.28-alpha'
+
androidTestImplementation Dependencies.kotlinTest
androidTestImplementation Dependencies.espresso
@@ -148,5 +154,6 @@ dependencies {
androidTestImplementation Dependencies.espresso("contrib")
androidTestImplementation Dependencies.testRules
androidTestImplementation Dependencies.testRunner
- androidTestImplementation Dependencies.koinTest
+ androidTestImplementation 'com.google.dagger:hilt-android-testing:2.28-alpha'
+ kaptAndroidTest 'com.google.dagger:hilt-android-compiler:2.28-alpha'
}