1
0

add and update depedencies

This commit is contained in:
Владимир Шперлинг 2024-10-29 13:00:30 +00:00
parent d959060004
commit e0f936c173

View File

@ -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)
}
}
}