DI(Hilt)追加 #45

Merged
Fujimatsu merged 4 commits from feature/add_di into main 2024-06-06 07:27:32 +00:00
4 changed files with 20 additions and 0 deletions
Showing only changes of commit d3f99496f0 - Show all commits

View File

@ -1,5 +1,6 @@
plugins { plugins {
alias(libs.plugins.androidLibrary) alias(libs.plugins.androidLibrary)
id 'com.google.dagger.hilt.android'
} }
android { android {
@ -34,4 +35,8 @@ dependencies {
testImplementation libs.junit testImplementation libs.junit
androidTestImplementation libs.ext.junit androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core androidTestImplementation libs.espresso.core
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
} }

View File

@ -1,5 +1,6 @@
plugins { plugins {
alias(libs.plugins.androidLibrary) alias(libs.plugins.androidLibrary)
id 'com.google.dagger.hilt.android'
} }
android { android {
@ -34,4 +35,8 @@ dependencies {
testImplementation libs.junit testImplementation libs.junit
androidTestImplementation libs.ext.junit androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core androidTestImplementation libs.espresso.core
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
} }

View File

@ -1,5 +1,6 @@
plugins { plugins {
alias(libs.plugins.androidLibrary) alias(libs.plugins.androidLibrary)
id 'com.google.dagger.hilt.android'
} }
android { android {
@ -34,4 +35,8 @@ dependencies {
testImplementation libs.junit testImplementation libs.junit
androidTestImplementation libs.ext.junit androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core androidTestImplementation libs.espresso.core
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
} }

View File

@ -1,5 +1,6 @@
plugins { plugins {
alias(libs.plugins.androidLibrary) alias(libs.plugins.androidLibrary)
id 'com.google.dagger.hilt.android'
} }
android { android {
@ -32,4 +33,8 @@ dependencies {
testImplementation libs.junit testImplementation libs.junit
androidTestImplementation libs.ext.junit androidTestImplementation libs.ext.junit
androidTestImplementation libs.espresso.core androidTestImplementation libs.espresso.core
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
} }