Skip to content

Commit 26efb04

Browse files
Test Update 2.0
1 parent 5af4c34 commit 26efb04

File tree

2 files changed

+52
-21
lines changed

2 files changed

+52
-21
lines changed

app/build.gradle.kts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,20 @@ android {
2323
isShrinkResources = false
2424
isDebuggable = true
2525
applicationIdSuffix = ".debug"
26-
proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
26+
proguardFiles(
27+
getDefaultProguardFile("proguard-android-optimize.txt"),
28+
"proguard-rules.pro"
29+
)
2730
resValue("string", "app_name", "mLauncher Debug")
2831
}
2932

3033
getByName("release") {
3134
isMinifyEnabled = false
3235
isShrinkResources = false
33-
proguardFiles (getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
36+
proguardFiles(
37+
getDefaultProguardFile("proguard-android-optimize.txt"),
38+
"proguard-rules.pro"
39+
)
3440
resValue("string", "app_name", "mLauncher")
3541
}
3642
}
@@ -81,6 +87,7 @@ android {
8187
}
8288

8389
dependencies {
90+
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
8491
// Core libraries
8592
implementation(libs.core.ktx)
8693
implementation(libs.appcompat)

gradle/libs.versions.toml

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,104 @@
11
# gradle/libs.versions.toml
22

33
[versions]
4-
# AndroidX
4+
# AndroidX Core and AppCompat
55
core-ktx = "1.15.0"
66
appcompat = "1.7.0"
77
recyclerview = "1.3.2"
8+
9+
# Android Lifecycle
810
lifecycle-extensions = "2.2.0"
911
lifecycle-viewmodel-ktx = "2.8.7"
12+
13+
# Navigation
1014
navigation-fragment-ktx = "2.8.4"
1115
navigation-ui-ktx = "2.8.4"
12-
constraintlayout = "2.2.0"
13-
constraintlayout-compose = "1.1.0"
16+
navigation-testing = "2.8.4"
17+
18+
# Work Manager
1419
work-runtime-ktx = "2.10.0"
15-
biometric-ktx = "1.4.0-alpha02"
16-
activity-compose = "1.9.3"
1720

18-
# Compose Material
21+
# ConstraintLayout
22+
constraintlayout = "2.1.4"
23+
constraintlayout-compose = "1.0.1"
24+
25+
# Compose Versions
26+
androidxTestKotlin = "1.7.1" # Compose-related libraries version
27+
activity-compose = "1.9.3"
1928
compose-material = "1.7.5"
2029
compose-animation = "1.7.5"
2130
compose-ui = "1.7.5"
2231
compose-foundation = "1.7.5"
2332
compose-ui-tooling = "1.7.5"
2433

25-
# Libraries
34+
# Other Libraries
2635
commons-text = "1.12.0"
2736
gson = "2.11.0"
37+
biometric-ktx = "1.4.0-alpha02"
2838
color-chooser = "0.7.3"
29-
compose-colorful-sliders = "1.2.0"
39+
compose-colorful-sliders = "1.2.0" # Compose colorful sliders library
3040

3141
# ACRA
3242
acra = "5.11.3"
3343

34-
# Android Test
44+
# AndroidX Test Libraries
3545
espresso = "3.6.1"
46+
test-core-ktx = "1.6.1"
3647
test-runner = "1.6.2"
3748
test-rules = "1.6.1"
38-
test-core-ktx = "1.6.1"
39-
40-
# Debug/Test
4149
fragment-testing = "1.8.5"
4250
ui-test-junit4 = "1.7.5"
4351
ui-test-manifest = "1.7.5"
44-
navigation-testing = "2.8.4"
4552

4653
[libraries]
54+
# Core Libraries
4755
core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
4856
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
4957
recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }
58+
59+
# Android Lifecycle
5060
lifecycle-extensions = { group = "androidx.lifecycle", name = "lifecycle-extensions", version.ref = "lifecycle-extensions" }
5161
lifecycle-viewmodel-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle-viewmodel-ktx" }
62+
63+
# Navigation
5264
navigation-fragment-ktx = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation-fragment-ktx" }
5365
navigation-ui-ktx = { group = "androidx.navigation", name = "navigation-ui-ktx", version.ref = "navigation-ui-ktx" }
66+
navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "navigation-testing" }
67+
68+
# Work Manager
69+
work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "work-runtime-ktx" }
70+
71+
# ConstraintLayout
5472
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
5573
constraintlayout-compose = { group = "androidx.constraintlayout", name = "constraintlayout-compose", version.ref = "constraintlayout-compose" }
56-
work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "work-runtime-ktx" }
57-
biometric-ktx = { group = "androidx.biometric", name = "biometric-ktx", version.ref = "biometric-ktx" }
74+
75+
# Compose
5876
activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
5977
compose-material = { group = "androidx.compose.material", name = "material", version.ref = "compose-material" }
6078
compose-animation = { group = "androidx.compose.animation", name = "animation", version.ref = "compose-animation" }
6179
compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "compose-ui" }
62-
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "compose-ui-tooling" }
6380
compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "compose-foundation" }
81+
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling", version.ref = "compose-ui-tooling" }
82+
compose-colorful-sliders = { group = "com.github.SmartToolFactory", name = "Compose-Colorful-Sliders", version.ref = "compose-colorful-sliders" }
83+
84+
# Miscellaneous Libraries
6485
commons-text = { group = "org.apache.commons", name = "commons-text", version.ref = "commons-text" }
6586
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
87+
biometric-ktx = { group = "androidx.biometric", name = "biometric-ktx", version.ref = "biometric-ktx" }
6688
color-chooser = { group = "net.mm2d.color-chooser", name = "color-chooser", version.ref = "color-chooser" }
67-
compose-colorful-sliders = { group = "com.github.SmartToolFactory", name = "Compose-Colorful-Sliders", version.ref = "compose-colorful-sliders" }
89+
90+
# ACRA
6891
acra-core = { group = "ch.acra", name = "acra-core", version.ref = "acra" }
6992
acra-dialog = { group = "ch.acra", name = "acra-dialog", version.ref = "acra" }
7093
acra-mail = { group = "ch.acra", name = "acra-mail", version.ref = "acra" }
94+
95+
# Testing Libraries
7196
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espresso" }
7297
espresso-contrib = { group = "androidx.test.espresso", name = "espresso-contrib", version.ref = "espresso" }
7398
espresso-idling-resource = { group = "androidx.test.espresso", name = "espresso-idling-resource", version.ref = "espresso" }
99+
test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "test-core-ktx" }
74100
test-runner = { group = "androidx.test", name = "runner", version.ref = "test-runner" }
75101
test-rules = { group = "androidx.test", name = "rules", version.ref = "test-rules" }
76-
test-core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "test-core-ktx" }
77102
fragment-testing = { group = "androidx.fragment", name = "fragment-testing", version.ref = "fragment-testing" }
78103
ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4", version.ref = "ui-test-junit4" }
79104
ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest", version.ref = "ui-test-manifest" }
80-
navigation-testing = { group = "androidx.navigation", name = "navigation-testing", version.ref = "navigation-testing" }

0 commit comments

Comments
 (0)