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