11[versions ]
2+ # Build tools & plugins
23gradle = " 8.10.1"
3- coroutines = " 1.7.3"
4- firebaseBom = " 32.8.0"
5- hilt = " 2.56.2"
6- jacoco = " 0.8.8"
74kotlin = " 2.1.20"
8- material = " 1.12.0 "
9- mockk = " 1.14.2 "
10- composeBom = " 2023.06.01 "
5+ jacoco = " 0.8.8 "
6+
7+ # AndroidX
118appcompat = " 1.7.0"
129coreKtx = " 1.16.0"
1310constraintlayout = " 2.2.1"
@@ -16,7 +13,29 @@ lifecycleViewmodelKtx = "2.8.7"
1613lifecycleExtensions = " 2.2.0"
1714activityCompose = " 1.10.1"
1815datastorePreferences = " 1.1.4"
16+
17+ # Compose
18+ composeBom = " 2023.06.01"
19+
20+ # Google/Material
21+ material = " 1.12.0"
22+
23+ # Firebase
24+ firebaseBom = " 32.8.0"
25+
26+ # Dagger/Hilt
27+ hilt = " 2.56.2"
28+ hiltAndroidTesting = " 2.56.2"
29+
30+ # Coroutines
31+ coroutines = " 1.7.3"
32+
33+ # USB Serial
34+ usbSerial = " 6.1.1"
35+
36+ # Testing
1937junit = " 4.13.2"
38+ mockk = " 1.14.2"
2039testCore = " 1.6.1"
2140testExtJunit = " 1.2.1"
2241testExtJunitKtx = " 1.2.1"
@@ -26,11 +45,10 @@ testRunner = "1.6.2"
2645testRules = " 1.6.1"
2746truth = " 1.1.3"
2847androidxTruth = " 1.6.0"
29- hiltAndroidTesting = " 2.56.2"
30- usbSerial = " 6.1.1"
3148
3249[libraries ]
33- # AndroidX
50+
51+ # --- AndroidX ---
3452appcompat = { module = " androidx.appcompat:appcompat" , version.ref = " appcompat" }
3553core-ktx = { module = " androidx.core:core-ktx" , version.ref = " coreKtx" }
3654constraintlayout = { module = " androidx.constraintlayout:constraintlayout" , version.ref = " constraintlayout" }
@@ -40,42 +58,42 @@ lifecycle-extensions = { module = "androidx.lifecycle:lifecycle-extensions", ver
4058activity-compose = { module = " androidx.activity:activity-compose" , version.ref = " activityCompose" }
4159datastore-preferences = { module = " androidx.datastore:datastore-preferences" , version.ref = " datastorePreferences" }
4260
43- # Compose
61+ # --- Compose ---
4462compose-bom = { module = " androidx.compose:compose-bom" , version.ref = " composeBom" }
4563compose-foundation = { module = " androidx.compose.foundation:foundation" }
4664compose-material3 = { module = " androidx.compose.material3:material3" }
4765compose-ui-tooling-preview = { module = " androidx.compose.ui:ui-tooling-preview" }
4866compose-ui-tooling = { module = " androidx.compose.ui:ui-tooling" }
4967
50- # Google Material
68+ # --- Google/ Material ---
5169material = { module = " com.google.android.material:material" , version.ref = " material" }
5270
53- # Firebase
71+ # --- Firebase ---
5472firebase-bom = { module = " com.google.firebase:firebase-bom" , version.ref = " firebaseBom" }
5573firebase-analytics-ktx = { module = " com.google.firebase:firebase-analytics-ktx" }
5674firebase-crashlytics-ktx = { module = " com.google.firebase:firebase-crashlytics-ktx" }
5775
58- # Dagger Hilt
76+ # --- Dagger/ Hilt ---
5977hilt-android = { module = " com.google.dagger:hilt-android" , version.ref = " hilt" }
6078hilt-compiler = { module = " com.google.dagger:hilt-compiler" , version.ref = " hilt" }
6179hilt-android-testing = { module = " com.google.dagger:hilt-android-testing" , version.ref = " hiltAndroidTesting" }
6280hilt-android-compiler = { module = " com.google.dagger:hilt-android-compiler" , version.ref = " hiltAndroidTesting" }
6381
64- # Coroutines
82+ # --- Coroutines ---
6583coroutines-core = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-core" , version.ref = " coroutines" }
6684coroutines-android = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " coroutines" }
6785coroutines-test = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-test" , version.ref = " coroutines" }
6886
69- # USB Serial
87+ # --- USB Serial ---
7088usb-serial = { module = " com.github.superus8r:UsbSerial" , version.ref = " usbSerial" }
7189
72- # Unit Test
90+ # --- Unit Test ---
7391junit = { module = " junit:junit" , version.ref = " junit" }
7492mockk-android = { module = " io.mockk:mockk-android" , version.ref = " mockk" }
7593mockk-agent = { module = " io.mockk:mockk-agent" , version.ref = " mockk" }
7694truth = { module = " com.google.truth:truth" , version.ref = " truth" }
7795
78- # Instrumented Test
96+ # --- Instrumented Test ---
7997androidx-test-core = { module = " androidx.test:core" , version.ref = " testCore" }
8098androidx-test-ext-junit = { module = " androidx.test.ext:junit" , version.ref = " testExtJunit" }
8199androidx-test-ext-junit-ktx = { module = " androidx.test.ext:junit-ktx" , version.ref = " testExtJunitKtx" }
@@ -85,12 +103,13 @@ androidx-test-runner = { module = "androidx.test:runner", version.ref = "testRun
85103androidx-test-rules = { module = " androidx.test:rules" , version.ref = " testRules" }
86104androidx-test-truth = { module = " androidx.test.ext:truth" , version.ref = " androidxTruth" }
87105
88- # Plugins (buildScript dependencies)
106+ # --- Plugins (classpath dependencies) ---
89107hilt-android-gradle-plugin = { module = " com.google.dagger:hilt-android-gradle-plugin" , version.ref = " hilt" }
90108google-services = { module = " com.google.gms:google-services" , version = " 4.4.1" }
91109firebase-crashlytics-gradle = { module = " com.google.firebase:firebase-crashlytics-gradle" , version = " 2.9.9" }
92110
93111[plugins ]
112+ # --- Gradle Plugins ---
94113android-application = { id = " com.android.application" , version.ref = " gradle" }
95114kotlin-android = { id = " org.jetbrains.kotlin.android" , version.ref = " kotlin" }
96115kotlin-compose = { id = " org.jetbrains.kotlin.plugin.compose" , version.ref = " kotlin" }
0 commit comments