1+ [versions ]
2+ # Define the dependency versions
3+ # compose
4+ compose_ui = " 1.3.2"
5+ compose_material = " 1.1.1"
6+ compose_activity =" 1.6.1"
7+ compose_navigation = " 2.5.3"
8+ compose_compiler = " 1.3.2"
9+
10+ # ktx
11+ core_ktx = " 1.9.0"
12+ android_life_cycle = " 2.5.1"
13+
14+ # hilt
15+ hilt = " 2.44"
16+ hilt_nav_compose = " 1.0.0"
17+
18+ # coroutine
19+ coroutine = " 1.6.4"
20+ turbine = " 0.12.1"
21+
22+ # room
23+ room = " 2.4.3"
24+
25+ # ktor
26+ ktor = " 2.2.2"
27+
28+ # android test
29+ kotlinx_serialization = " 1.4.0"
30+ android_junit = " 1.1.4"
31+ espresso = " 3.5.0"
32+ junit = " 4.13.2"
33+
34+ # android sdk
35+ min_sdk = " 26"
36+ target_sdk = " 32"
37+ compile_sdk = " 33"
38+
39+ [libraries ]
40+ # compose
41+ compose_ui = { module = " androidx.compose.ui:ui" , version.ref = " compose_ui" }
42+ compose_material = { module = " androidx.compose.material:material" , version.ref = " compose_material" }
43+ compose_activity = { module = " androidx.activity:activity-compose" , version.ref = " compose_activity" }
44+ compose_preview = { module = " androidx.compose.ui:ui-tooling-preview" , version.ref = " compose_ui" }
45+ compose_nav = { module = " androidx.navigation:navigation-compose" , version.ref = " compose_navigation" }
46+ compose_view_model = { module = " androidx.lifecycle:lifecycle-viewmodel-compose" , version.ref = " android_life_cycle" }
47+ compose_nav_test = { module = " androidx.navigation:navigation-testing" , version.ref = " compose_navigation" }
48+
49+ # hilt
50+ hilt_compiler = { module = " com.google.dagger:hilt-android-compiler" , version.ref = " hilt" }
51+ hilt_android = { module = " com.google.dagger:hilt-android" , version.ref = " hilt" }
52+ hilt_test = { module = " com.google.dagger:hilt-android-testing" , version.ref = " hilt" }
53+ hilt_nav_compose = { module = " androidx.hilt:hilt-navigation-compose" , version.ref = " hilt_nav_compose" }
54+
55+ # ktx
56+ core_ktx = { module = " androidx.core:core-ktx" , version.ref = " core_ktx" }
57+ runtime_ktx = { module = " androidx.lifecycle:lifecycle-runtime-ktx" , version.ref = " android_life_cycle" }
58+
59+ # Coroutine
60+ coroutine = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " coroutine" }
61+ coroutine_test = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-test" , version.ref = " coroutine" }
62+ coroutine_turbins = { module = " app.cash.turbine:turbine" , version.ref = " turbine" }
63+
64+ # Room database
65+ room_runtime = { module = " androidx.room:room-runtime" , version.ref = " room" }
66+ room_compiler = { module = " androidx.room:room-compiler" , version.ref = " room" }
67+ room_ktx = { module = " androidx.room:room-ktx" , version.ref = " room" }
68+ room_test = { module = " androidx.room:room-testing" , version.ref = " room" }
69+
70+ # Remote setup
71+ ktor_core = { module = " io.ktor:ktor-client-core" , version.ref = " ktor" }
72+ ktor_client = { module = " io.ktor:ktor-client-okhttp" , version.ref = " ktor" }
73+ ktor_content_negotiation = { module = " io.ktor:ktor-client-content-negotiation" , version.ref = " ktor" }
74+ ktor_serialization = { module = " io.ktor:ktor-serialization-kotlinx-json" , version.ref = " ktor" }
75+ ktor_client_logging = { module = " io.ktor:ktor-client-logging" , version.ref = " ktor" }
76+ kotlinx_serialization = { module = " org.jetbrains.kotlinx:kotlinx-serialization-json" , version.ref = " kotlinx_serialization" }
77+ ktor_client_mock = { module = " io.ktor:ktor-client-mock" , version.ref = " ktor" }
78+
79+ # Android Testing
80+ junit = { module = " junit:junit" , version.ref = " junit" }
81+ junit_android = { module = " androidx.test.ext:junit" , version.ref = " android_junit" }
82+ espresso_test = { module = " androidx.test.espresso:espresso-core" , version.ref = " espresso" }
83+ compose_ui_testing = { module = " androidx.compose.ui:ui-test-junit4" , version.ref = " compose_ui" }
84+ compose_tooling_testing = { module = " androidx.compose.ui:ui-tooling" , version.ref = " compose_ui" }
85+ compose_ui_manifest_test = { module = " androidx.compose.ui:ui-test-manifest" , version.ref = " compose_ui" }
86+
87+ [bundles ]
88+ # Define bundles/groups of libraries
89+ compose = [" compose.ui" , " compose.material" ," compose.activity" ," compose.preview" ," compose.nav" ," compose.view.model" ]
90+ ktx = [" core.ktx" , " runtime.ktx" ]
91+ hilt = [" hilt.android" , " hilt.nav.compose" ]
92+ coroutine_test = [" coroutine.test" , " coroutine.turbins" ]
93+ room = [" room.runtime" , " room.ktx" ]
94+ ktor = [" ktor.core" , " ktor.client" ," ktor.content.negotiation" ," ktor.serialization" ," ktor.client.logging" ," kotlinx.serialization" ]
95+ android_test = [" junit.android" , " espresso.test" ," compose.ui.testing" ]
96+ android_debug_test = [" compose.tooling.testing" , " compose.ui.manifest.test" ]
97+
98+ [plugins ]
99+ # Define Plugins
100+ hilt_plugin = { id = " com.google.dagger.hilt.android" , version.ref = " hilt" }
0 commit comments