依存関係をVersionCatalogに移動

This commit is contained in:
ろむねこ 2023-12-07 14:56:50 +09:00
parent ff0b272fa4
commit 7bb5d5ddfc
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 28 additions and 8 deletions

View File

@ -31,16 +31,25 @@ android {
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
// implementation 'androidx.appcompat:appcompat:1.6.1'
// implementation 'com.google.android.material:material:1.10.0'
// implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
// testImplementation 'junit:junit:4.13.2'
// androidTestImplementation 'androidx.test.ext:junit:1.1.5'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
implementation libs.androidx.constraintlayout
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
// Hilt (DI)
implementation "com.google.dagger:hilt-android:2.44"
annotationProcessor "com.google.dagger:hilt-compiler:2.44"
// implementation "com.google.dagger:hilt-android:2.44"
// annotationProcessor "com.google.dagger:hilt-compiler:2.44"
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
// Navigation
implementation libs.navigation.fragment

View File

@ -6,4 +6,15 @@ navigation-fragment = { group="androidx.navigation", name="navigation-fragment",
navigation-ui = { group="androidx.navigation", name="navigation-ui", version.ref="nav"}
navigation-dynamic-features-fragment = { group="androidx.navigation", name="navigation-dynamic-features-fragment", version.ref="nav"}
androidx-constraintlayout = { group="androidx.constraintlayout", name="constraintlayout", version="2.1.4" }
com-google-android-material = { group="com.google.android.material", name="material", version="1.10.0" }
androidx-appcompat = { group="androidx.appcompat", name="appcompat", version="1.6.1" }
junit = { group="junit", name="junit", version="4.13.2" }
androidx-test-ext-junit = { group="androidx.test.ext", name="junit", version="1.1.5" }
androidx-test-espresso-core = { group="androidx.test.espresso", name="espresso-core", version="3.5.1" }
com-google-dagger-hilt-android = { group="com.google.dagger", name="hilt-android", version="2.44" }
com-google-dagger-hilt-compiler = { group="com.google.dagger", name="hilt-compiler", version="2.44" }
[plugins]