From 7bb5d5ddfcb0285153ad40b9c0e9e9fb779c70b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 7 Dec 2023 14:56:50 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E5=AD=98=E9=96=A2=E4=BF=82=E3=82=92Ve?= =?UTF-8?q?rsionCatalog=E3=81=AB=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 25 +++++++++++++++++-------- gradle/libs.versions.toml | 11 +++++++++++ 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d0e85f1a..882a2254 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 0278ce5a..1d4626a2 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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] \ No newline at end of file