diff --git a/app/build.gradle b/app/build.gradle index ef403d527..72e25ba6f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -16,8 +16,10 @@ plugins { id 'com.android.application' id 'kotlin-android' + id 'kotlin-kapt' id 'kotlinx-serialization' id 'jacoco' + id 'dagger.hilt.android.plugin' } def jacocoTestReport = tasks.create("jacocoTestReport") @@ -133,6 +135,9 @@ dependencies { implementation libs.androidx.compose.runtime implementation libs.androidx.compose.runtime.livedata + implementation libs.hilt.android + kapt libs.hilt.compiler + debugImplementation libs.androidx.compose.ui.testManifest testImplementation libs.junit4 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5f61d5605..a73a8f0e5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -17,6 +17,7 @@ package="com.google.samples.apps.nowinandroid">