Skip to content

Commit a4368fb

Browse files
committed
[dependencies] sync Version Catalogs
1 parent 593a3f0 commit a4368fb

File tree

1 file changed

+120
-48
lines changed

1 file changed

+120
-48
lines changed

gradle/libs.versions.toml

Lines changed: 120 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,84 @@
11
[versions]
2+
3+
## Plugins
4+
25
kotlin = "2.0.20"
36
agp = "8.5.2"
47
ksp = "2.0.20-1.0.24"
58
versionChecker = "0.51.0"
69

7-
activity = "1.8.2"
8-
datastore = "1.0.0"
9-
compose = "1.6.2"
10-
composeCompiler = "1.5.8"
11-
coil = "2.5.0"
10+
## Libraries
11+
#### Jetpack Start
12+
core-ktx = "1.13.1"
13+
appcompat = "1.7.0"
14+
activity = "1.9.1"
15+
fragment = "1.8.2"
16+
lifecycle = "2.7.0"
17+
annotation = "1.8.0"
18+
preference = "1.2.1"
19+
recyclerview = "1.3.2"
20+
constraintlayout = "2.1.4"
21+
percentlayout = "1.0.0"
22+
swiperefreshlayout = "1.1.0"
23+
media = "1.7.0"
24+
browser = "1.7.0"
25+
cardview = "1.0.0"
26+
palette = "1.0.0"
1227
room = "2.6.1"
13-
14-
[plugins]
15-
16-
androidGradlePlugin = { id = "com.android.application", version.ref = "agp" }
17-
androidGradlePluginLibrary = { id = "com.android.library", version.ref = "agp" }
18-
19-
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
20-
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
21-
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
22-
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
23-
24-
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
25-
26-
versionChecker = { id = "com.github.ben-manes.versions", version.ref = "versionChecker" }
27-
28-
29-
28+
datastore = "1.0.0"
29+
material = "1.9.0"
30+
compose = "1.6.8"
31+
composeCompiler = "1.5.10"
32+
#### Jetpack End
33+
34+
35+
#### Popular Start
36+
ktxc = "1.8.1"
37+
ktxs-json = "1.6.3"
38+
ktxs-ktoml = "0.5.0"
39+
ktxs-kaml = "0.57.0"
40+
okhttp = "4.12.0"
41+
retrofit = "2.11.0"
42+
coil = "2.6.0"
43+
koin = "3.5.6"
44+
#### Popular End
45+
46+
#### Others Start
47+
materialDialogs = "3.3.0"
48+
composeMaterialDialogs = "0.9.0"
49+
composeSetting = "1.0.3"
50+
themeUtil = "0.2.0"
51+
#### Others End
52+
53+
## Test
54+
junit = "4.13.2"
55+
mockito = "5.6.0"
56+
testCore = "1.6.1"
57+
testExtJunit = "1.2.1"
58+
testEspresso = "3.6.1"
3059

3160
[libraries]
3261

33-
androidx-core = "androidx.core:core-ktx:1.12.0"
34-
androidx-appcompat = "androidx.appcompat:appcompat:1.6.1"
62+
androidx-core = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
63+
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
3564
androidx-activity = { module = "androidx.activity:activity-ktx", version.ref = "activity" }
36-
androidx-documentfile = "androidx.documentfile:documentfile:1.0.1"
37-
androidx-fragment = "androidx.fragment:fragment-ktx:1.6.2"
38-
androidx-lifecycle_runtime = "androidx.lifecycle:lifecycle-runtime-ktx:2.7.0"
65+
androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "fragment" }
66+
androidx-lifecycle_runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle" }
3967

40-
androidx-annotation = "androidx.annotation:annotation:1.7.1"
41-
androidx-preference = "androidx.preference:preference-ktx:1.2.1"
68+
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "annotation" }
69+
androidx-preference = { module = "androidx.preference:preference-ktx", version.ref = "preference" }
4270

43-
androidx-recyclerview = "androidx.recyclerview:recyclerview:1.3.2"
71+
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "recyclerview" }
4472

45-
androidx-constraintlayout = "androidx.constraintlayout:constraintlayout:2.1.4"
46-
androidx-percentlayout = "androidx.percentlayout:percentlayout:1.0.0"
47-
androidx-swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
73+
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintlayout" }
74+
androidx-percentlayout = { module = "androidx.percentlayout:percentlayout", version.ref = "percentlayout" }
75+
androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "swiperefreshlayout" }
4876

49-
androidx-media = "androidx.media:media:1.7.0"
50-
androidx-cardview = "androidx.cardview:cardview:1.0.0"
51-
androidx-palette = "androidx.palette:palette-ktx:1.0.0"
77+
androidx-media = { module = "androidx.media:media", version.ref = "media" }
78+
androidx-browser = { module = "androidx.browser:browser", version.ref = "browser" }
79+
androidx-cardview = { module = "androidx.cardview:cardview", version.ref = "cardview" }
80+
androidx-palette = { module = "androidx.palette:palette-ktx", version.ref = "palette" }
81+
androidx-documentfile = { module = "androidx.documentfile:documentfile", version = "1.0.1" }
5282

5383
#
5484
# Room
@@ -67,7 +97,7 @@ androidx-datastore-preferences-core = { group = "androidx.datastore", name = "da
6797
androidx-datastore-core = { group = "androidx.datastore", name = "datastore-core", version.ref = "datastore" }
6898

6999

70-
google-material = "com.google.android.material:material:1.9.0"
100+
google-material = { module = "com.google.android.material:material", version.ref = "material" }
71101

72102
#
73103
# Jetpack Compose
@@ -85,26 +115,37 @@ compose-activity = { group = "androidx.activity", name = "activity-compose", ver
85115
# popular
86116
#
87117

88-
okhttp3 = "com.squareup.okhttp3:okhttp:4.12.0"
89-
retrofit2 = "com.squareup.retrofit2:retrofit:2.9.0"
90-
kotlinx-serialization-json = "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3"
91-
kotlinx-serialization-ktoml = "com.akuleshov7:ktoml-core:0.5.0"
92-
kotlinx-serialization-kaml = "com.charleskorn.kaml:kaml:0.57.0"
118+
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
119+
kotlinx-coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "ktxc" }
120+
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "ktxs-json" }
121+
kotlinx-serialization-ktoml = { module = "com.akuleshov7:ktoml-core", version.ref = "ktxs-ktoml" }
122+
kotlinx-serialization-kaml = { module = "com.charleskorn.kaml:kaml", version.ref = "ktxs-kaml" }
123+
okhttp3 = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
124+
retrofit2 = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit" }
93125
coil = { module = "io.coil-kt:coil", version.ref = "coil" }
94126
coil-compose = { module = "io.coil-kt:coil-compose-base", version.ref = "coil" }
95-
koin = "io.insert-koin:koin-android:3.5.3"
96-
kotlinx-coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0"
127+
koin = { module = "io.insert-koin:koin-android", version.ref = "koin" }
128+
97129

98130
#
99-
# Gradle API
131+
# Test
100132
#
101-
# androidGradlePluginAPI = { module = "com.android.tools.build:gradle-api", version.ref = "agp" }
133+
junit = { module = "junit:junit", version.ref = "junit" }
134+
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" }
135+
mockito-android = { module = "org.mockito:mockito-android", version.ref = "mockito" }
136+
androidx-test-core = { module = "androidx.test:core-ktx", version.ref = "testCore" }
137+
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "testExtJunit" }
138+
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "testEspresso" }
139+
102140

103141
#
104142
# other
105143
#
106144

107-
menuDsl = "io.github.chr56:android-menu-dsl:0.1.3"
145+
androidGradlePluginAPI = { module = "com.android.tools.build:gradle-api", version.ref = "agp" } # for Plugin development
146+
147+
storageUtilities = { module = "io.github.chr56:android-storage-utilities", version = "0.3.1" }
148+
menuDsl = { module = "io.github.chr56:android-menu-dsl", version = "0.1.3" }
108149

109150
[bundles]
110151

@@ -126,4 +167,35 @@ androidx-datastore = [
126167
androidx-room = [
127168
"androidx-room-runtime",
128169
"androidx-room-ktx",
129-
]
170+
]
171+
172+
# Test
173+
174+
test-unit = [
175+
"junit",
176+
"mockito-core",
177+
"mockito-android",
178+
]
179+
180+
test-androidx-suite = [
181+
"androidx-test-core",
182+
"androidx-test-junit",
183+
"androidx-test-espresso-core",
184+
]
185+
186+
187+
[plugins]
188+
189+
androidGradlePlugin = { id = "com.android.application", version.ref = "agp" }
190+
androidGradlePluginLibrary = { id = "com.android.library", version.ref = "agp" }
191+
192+
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
193+
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
194+
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
195+
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
196+
197+
kotlin-ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
198+
199+
versionChecker = { id = "com.github.ben-manes.versions", version.ref = "versionChecker" }
200+
201+
artifactsRelease = { id = "io.github.chr56.tools.release", version = "0.1.2" }

0 commit comments

Comments
 (0)