From 26efb044607f40817d785e9da5a3ec71e55505ae Mon Sep 17 00:00:00 2001 From: HeCodes2Much Date: Thu, 21 Nov 2024 17:55:47 +0000 Subject: [PATCH] Test Update 2.0 --- app/build.gradle.kts | 11 +++++-- gradle/libs.versions.toml | 62 +++++++++++++++++++++++++++------------ 2 files changed, 52 insertions(+), 21 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index b5bae746..e89bf442 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -23,14 +23,20 @@ android { isShrinkResources = false isDebuggable = true applicationIdSuffix = ".debug" - proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) resValue("string", "app_name", "mLauncher Debug") } getByName("release") { isMinifyEnabled = false isShrinkResources = false - proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" + ) resValue("string", "app_name", "mLauncher") } } @@ -81,6 +87,7 @@ android { } dependencies { + implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar")))) // Core libraries implementation(libs.core.ktx) implementation(libs.appcompat) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index b3b0564d..fdac035d 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,80 +1,104 @@ # gradle/libs.versions.toml [versions] -# AndroidX +# AndroidX Core and AppCompat core-ktx = "1.15.0" appcompat = "1.7.0" recyclerview = "1.3.2" + +# Android Lifecycle lifecycle-extensions = "2.2.0" lifecycle-viewmodel-ktx = "2.8.7" + +# Navigation navigation-fragment-ktx = "2.8.4" navigation-ui-ktx = "2.8.4" -constraintlayout = "2.2.0" -constraintlayout-compose = "1.1.0" +navigation-testing = "2.8.4" + +# Work Manager work-runtime-ktx = "2.10.0" -biometric-ktx = "1.4.0-alpha02" -activity-compose = "1.9.3" -# Compose Material +# ConstraintLayout +constraintlayout = "2.1.4" +constraintlayout-compose = "1.0.1" + +# Compose Versions +androidxTestKotlin = "1.7.1" # Compose-related libraries version +activity-compose = "1.9.3" compose-material = "1.7.5" compose-animation = "1.7.5" compose-ui = "1.7.5" compose-foundation = "1.7.5" compose-ui-tooling = "1.7.5" -# Libraries +# Other Libraries commons-text = "1.12.0" gson = "2.11.0" +biometric-ktx = "1.4.0-alpha02" color-chooser = "0.7.3" -compose-colorful-sliders = "1.2.0" +compose-colorful-sliders = "1.2.0" # Compose colorful sliders library # ACRA acra = "5.11.3" -# Android Test +# AndroidX Test Libraries espresso = "3.6.1" +test-core-ktx = "1.6.1" test-runner = "1.6.2" test-rules = "1.6.1" -test-core-ktx = "1.6.1" - -# Debug/Test fragment-testing = "1.8.5" ui-test-junit4 = "1.7.5" ui-test-manifest = "1.7.5" -navigation-testing = "2.8.4" [libraries] +# Core Libraries core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" } appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" } + +# Android Lifecycle lifecycle-extensions = { group = "androidx.lifecycle", name = "lifecycle-extensions", version.ref = "lifecycle-extensions" } lifecycle-viewmodel-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle-viewmodel-ktx" } + +# Navigation navigation-fragment-ktx = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation-fragment-ktx" } navigation-ui-ktx = { group = "androidx.navigation", name = "navigation-ui-ktx", version.ref = "navigation-ui-ktx" } +navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "navigation-testing" } + +# Work Manager +work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "work-runtime-ktx" } + +# ConstraintLayout constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" } constraintlayout-compose = { group = "androidx.constraintlayout", name = "constraintlayout-compose", version.ref = "constraintlayout-compose" } -work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "work-runtime-ktx" } -biometric-ktx = { group = "androidx.biometric", name = "biometric-ktx", version.ref = "biometric-ktx" } + +# Compose activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" } compose-material = { group = "androidx.compose.material", name = "material", version.ref = "compose-material" } compose-animation = { group = "androidx.compose.animation", name = "animation", version.ref = "compose-animation" } compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "compose-ui" } -compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "compose-ui-tooling" } compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "compose-foundation" } +compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "compose-ui-tooling" } +compose-colorful-sliders = { group = "com.github.SmartToolFactory", name = "Compose-Colorful-Sliders", version.ref = "compose-colorful-sliders" } + +# Miscellaneous Libraries commons-text = { group = "org.apache.commons", name = "commons-text", version.ref = "commons-text" } gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" } +biometric-ktx = { group = "androidx.biometric", name = "biometric-ktx", version.ref = "biometric-ktx" } color-chooser = { group = "net.mm2d.color-chooser", name = "color-chooser", version.ref = "color-chooser" } -compose-colorful-sliders = { group = "com.github.SmartToolFactory", name = "Compose-Colorful-Sliders", version.ref = "compose-colorful-sliders" } + +# ACRA acra-core = { group = "ch.acra", name = "acra-core", version.ref = "acra" } acra-dialog = { group = "ch.acra", name = "acra-dialog", version.ref = "acra" } acra-mail = { group = "ch.acra", name = "acra-mail", version.ref = "acra" } + +# Testing Libraries espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" } espresso-contrib = { group = "androidx.test.espresso", name = "espresso-contrib", version.ref = "espresso" } espresso-idling-resource = { group = "androidx.test.espresso", name = "espresso-idling-resource", version.ref = "espresso" } +test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "test-core-ktx" } test-runner = { group = "androidx.test", name = "runner", version.ref = "test-runner" } test-rules = { group = "androidx.test", name = "rules", version.ref = "test-rules" } -test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "test-core-ktx" } fragment-testing = { group = "androidx.fragment", name = "fragment-testing", version.ref = "fragment-testing" } ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4", version.ref = "ui-test-junit4" } ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest", version.ref = "ui-test-manifest" } -navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "navigation-testing" }