From e0f936c173054ae2c3e984b26fd857e650bf9e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A8?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=BB=D0=B8=D0=BD=D0=B3?= Date: Tue, 29 Oct 2024 13:00:30 +0000 Subject: [PATCH] add and update depedencies --- src/main/java/Dependencies.kt | 55 ++++++++++++----------------------- 1 file changed, 19 insertions(+), 36 deletions(-) diff --git a/src/main/java/Dependencies.kt b/src/main/java/Dependencies.kt index a6d29f5..59a2e2d 100644 --- a/src/main/java/Dependencies.kt +++ b/src/main/java/Dependencies.kt @@ -33,36 +33,36 @@ object Dependencies { */ object AndroidX { /** - * [androidx.tech](https://androidx.tech/artifacts/core/core-ktx/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/core) */ val core = Dependency("androidx.core:core-ktx", "1.13.1") /** - * [androidx.tech](https://androidx.tech/artifacts/appcompat/appcompat/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/appcompat) */ - val appcompat = Dependency("androidx.appcompat:appcompat", "1.6.1") + val appcompat = Dependency("androidx.appcompat:appcompat", "1.7.0") + + /** + * [Changelog](https://developer.android.com/jetpack/androidx/releases/activity) + */ + val activity = Dependency("androidx.activity:activity", "1.9.3") + + /** + * [Changelog](https://developer.android.com/jetpack/androidx/releases/fragment) + */ + val fragment = Dependency("androidx.fragment:fragment-ktx", "1.8.4") /** - * [androidx.tech](https://androidx.tech/artifacts/recyclerview/recyclerview/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/recyclerview) */ val recyclerView = Dependency("androidx.recyclerview:recyclerview", "1.3.2") /** - * [androidx.tech](https://androidx.tech/artifacts/cardview/cardview/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/cardview) */ val cardView = Dependency("androidx.cardview:cardview", "1.0.0") /** - * [androidx.tech](https://androidx.tech/artifacts/gridlayout/gridlayout/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/gridlayout) */ val gridLayout = Dependency("androidx.gridlayout:gridlayout", "1.0.0") @@ -72,8 +72,6 @@ object Dependencies { * * [Documentation](https://developer.android.com/reference/android/support/constraint/ConstraintLayout) * - * [androidx.tech](https://androidx.tech/artifacts/constraintlayout/constraintlayout/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/constraintlayout) */ val constraintLayout = Dependency("androidx.constraintlayout:constraintlayout", "2.1.4") @@ -86,8 +84,6 @@ object Dependencies { * * [Documentation](https://developer.android.com/jetpack/androidx/releases/coordinatorlayout) * - * [androidx.tech](https://androidx.tech/artifacts/coordinatorlayout/coordinatorlayout/) - * * [Changelog](https://developer.android.com/jetpack/androidx/releases/coordinatorlayout) */ val coordinatorLayout = Dependency("androidx.coordinatorlayout:coordinatorlayout", "1.2.0") @@ -108,22 +104,16 @@ object Dependencies { object Testing { /** - * [androidx.tech](https://androidx.tech/artifacts/test/core/) - * * [Documentation](https://developer.android.com/training/testing) */ val core = Dependency("androidx.test:core", "1.5.0") /** - * [androidx.tech](https://androidx.tech/artifacts/test/core/) - * * [Documentation](https://developer.android.com/training/testing) */ val junit = Dependency("androidx.test.ext:junit-ktx", "1.1.5") /** - * [androidx.tech](https://androidx.tech/artifacts/test.espresso/espresso-core/) - * * [Documentation](https://developer.android.com/training/testing/espresso) */ object Espresso { @@ -134,36 +124,26 @@ object Dependencies { } /** - * [androidx.tech](https://androidx.tech/artifacts/test/runner/) - * * [Documentation](https://developer.android.com/training/testing/junit-runner) */ val runner = Dependency("androidx.test:runner", "1.5.2") /** - * [androidx.tech](https://androidx.tech/artifacts/test/rules/) - * * [Documentation](https://developer.android.com/training/testing/junit-rules) */ val rules = Dependency("androidx.test:rules", "1.5.0") /** - * [androidx.tech](https://androidx.tech/artifacts/test/rules/) - * * [Documentation](https://developer.android.com/training/testing/junit-rules) */ val compose = Dependency("androidx.compose.ui:ui-test-junit4", "1.6.0") /** - * [androidx.tech](https://androidx.tech/artifacts/test/orchestrator/) - * * [Documentation](https://developer.android.com/training/testing/junit-runner#using-android-test-orchestrator) */ val orchestrator = Dependency("androidx.test:orchestrator", "1.4.2") /** - * [androidx.tech](https://androidx.tech/artifacts/test.uiautomator/uiautomator/) - * * [Documentation](https://developer.android.com/training/testing/ui-automator) */ val uiAutomator = Dependency("androidx.test.uiautomator:uiautomator", "2.2.0") @@ -178,15 +158,19 @@ object Dependencies { */ val materialDesign = Dependency("com.google.android.material:material", "1.11.0") - /** - * [androidx.tech](https://androidx.tech/artifacts/lifecycle/lifecycle-viewmodel/) - */ object Lifecycle { private const val version = "2.6.1" val viewModel = Dependency("androidx.lifecycle:lifecycle-viewmodel-ktx", version) val common = Dependency("androidx.lifecycle:lifecycle-common", version) } + + object Navigation { + private const val version = "2.8.3" + + val fragment = Dependency("androidx.navigation:navigation-fragment-ktx", version) + val navigationUi = Dependency("androidx.navigation:navigation-ui-ktx", version) + } } /** @@ -233,5 +217,4 @@ object Dependencies { val core = Dependency("com.kaspersky.android-components:kaspresso", version) val composeSupport = Dependency("com.kaspersky.android-components:kaspresso-compose-support", version) } -} - +} \ No newline at end of file