@@ -22,9 +22,10 @@ casa = "0.5.1"
22
22
coil = " 2.6.0"
23
23
compose-bom = " 2025.02.00"
24
24
composeCompiler = " 1.5.9"
25
+ documentfile = " 1.0.1"
25
26
kotlin = " 1.9.22"
26
27
hilt = " 2.48.1"
27
- kotlinxCoroutines = " 1.9.0 "
28
+ kotlinxCoroutines = " 1.7.3 "
28
29
ksp = " 1.9.22-1.0.17" # Should be updated when kotlin version is updated
29
30
coreExt = " 1.13.1"
30
31
androidx_activity = " 1.9.2"
@@ -34,8 +35,10 @@ androidx_window = "1.3.0"
34
35
lifecycleExtensions = " 2.2.0"
35
36
lifecycleRuntimeKtx = " 2.8.7"
36
37
multidex = " 1.0.3"
38
+ okhttp = " 4.12.0"
37
39
roomRuntime = " 2.6.1"
38
40
smartrefresh = " 1.1.2"
41
+ junit = " 4.13.2"
39
42
40
43
[libraries ]
41
44
# Core dependencies
@@ -60,6 +63,8 @@ androidx-activity-compose = { group = "androidx.activity", name = "activity-comp
60
63
androidx-appcompat = { group = " androidx.appcompat" , name = " appcompat" , version.ref = " androidx_appcompat" }
61
64
androidx-coreExt = { group = " androidx.core" , name = " core" , version.ref = " coreExt" }
62
65
androidx-coreExtkt = { group = " androidx.core" , name = " core-ktx" , version.ref = " coreExt" }
66
+ androidx-documentfile = { module = " androidx.documentfile:documentfile" , version.ref = " documentfile" }
67
+ androidx-ui-graphics = { group = " androidx.compose.ui" , name = " ui-graphics" }
63
68
64
69
compose-bom = { module = " androidx.compose:compose-bom" , version.ref = " compose-bom" }
65
70
compose-material-material3 = { module = " androidx.compose.material3:material3" }
@@ -91,7 +96,6 @@ androidx-annotation = "androidx.annotation:annotation:1.8.2"
91
96
androidx-fragment = " androidx.fragment:fragment-ktx:1.8.3"
92
97
androidx-exifinterface = " androidx.exifinterface:exifinterface:1.3.7"
93
98
androidx-transition = " androidx.transition:transition-ktx:1.5.1"
94
- androidx-lifecycle-viewmodel-compose = " androidx.lifecycle:lifecycle-viewmodel-compose:2.8.6"
95
99
androidx-viewpager2 = " androidx.viewpager2:viewpager2:1.1.0"
96
100
androidx-work-runtime-ktx = " androidx.work:work-runtime-ktx:2.9.1"
97
101
androidx-core-remoteviews = " androidx.core:core-remoteviews:1.1.0"
@@ -118,14 +122,17 @@ androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "
118
122
codelocator-core = " com.bytedance.tools.codelocator:codelocator-core:2.0.3"
119
123
google-ksp-plugin = { module = " com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin" , version.ref = " ksp" }
120
124
google-ksp-api = { module = " com.google.devtools.ksp:symbol-processing-api" , version.ref = " ksp" }
121
- kotlinx-coroutines-android = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " kotlinxCoroutines" }
122
- kotlinx-coroutines-core = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-core" , version.ref = " kotlinxCoroutines" }
123
125
androidx-lifecycle-extensions = { module = " androidx.lifecycle:lifecycle-extensions" , version.ref = " lifecycleExtensions" }
124
126
androidx-lifecycle-livedata-ktx = { module = " androidx.lifecycle:lifecycle-livedata-ktx" , version.ref = " lifecycleExtensions" }
125
127
androidx-lifecycle-viewmodel-ktx = { module = " androidx.lifecycle:lifecycle-viewmodel-ktx" , version.ref = " lifecycleExtensions" }
128
+ androidx-lifecycle-runtime-ktx = { group = " androidx.lifecycle" , name = " lifecycle-runtime-ktx" , version.ref = " lifecycleRuntimeKtx" }
129
+ androidx-lifecycle-viewmodel-compose = { group = " androidx.lifecycle" , name = " lifecycle-viewmodel-compose" , version.ref = " lifecycleRuntimeKtx" }
130
+ kotlinx-coroutines-android = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-android" , version.ref = " kotlinxCoroutines" }
131
+ kotlinx-coroutines-core = { module = " org.jetbrains.kotlinx:kotlinx-coroutines-core" , version.ref = " kotlinxCoroutines" }
126
132
material = " com.google.android.material:material:1.12.0"
127
133
accompanist-permissions = " com.google.accompanist:accompanist-permissions:0.32.0"
128
134
multidex = { module = " com.android.support:multidex" , version.ref = " multidex" }
135
+ okhttp = { module = " com.squareup.okhttp3:okhttp" , version.ref = " okhttp" }
129
136
smartrefreshheader = { module = " com.scwang.smartrefresh:SmartRefreshHeader" , version.ref = " smartrefresh" }
130
137
smartrefreshlayout = { module = " com.scwang.smartrefresh:SmartRefreshLayout" , version.ref = " smartrefresh" }
131
138
@@ -144,5 +151,4 @@ androidx-test-ext-junitkt = "androidx.test.ext:junit-ktx:1.2.1"
144
151
androidx-test-ext-truth = " androidx.test.ext:truth:1.6.0"
145
152
# To use android test orchestrator
146
153
androidx-test-orchestrator = " androidx.test:orchestrator:1.5.0"
147
- androidx-lifecycle-runtime-ktx = { group = " androidx.lifecycle" , name = " lifecycle-runtime-ktx" , version.ref = " lifecycleRuntimeKtx" }
148
- androidx-ui-graphics = { group = " androidx.compose.ui" , name = " ui-graphics" }
154
+ junit = { group = " junit" , name = " junit" , version.ref = " junit" }
0 commit comments