1
1
[versions ]
2
+
3
+ # # Plugins
4
+
2
5
kotlin = " 2.0.20"
3
6
agp = " 8.5.2"
4
7
ksp = " 2.0.20-1.0.24"
5
8
versionChecker = " 0.51.0"
6
9
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"
12
27
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"
30
59
31
60
[libraries ]
32
61
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 " }
35
64
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" }
39
67
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 " }
42
70
43
- androidx-recyclerview = " androidx.recyclerview:recyclerview:1.3.2 "
71
+ androidx-recyclerview = { module = " androidx.recyclerview:recyclerview" , version.ref = " recyclerview " }
44
72
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 " }
48
76
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" }
52
82
53
83
#
54
84
# Room
@@ -67,7 +97,7 @@ androidx-datastore-preferences-core = { group = "androidx.datastore", name = "da
67
97
androidx-datastore-core = { group = " androidx.datastore" , name = " datastore-core" , version.ref = " datastore" }
68
98
69
99
70
- google-material = " com.google.android.material:material:1.9.0 "
100
+ google-material = { module = " com.google.android.material:material" , version.ref = " material " }
71
101
72
102
#
73
103
# Jetpack Compose
@@ -85,26 +115,37 @@ compose-activity = { group = "androidx.activity", name = "activity-compose", ver
85
115
# popular
86
116
#
87
117
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" }
93
125
coil = { module = " io.coil-kt:coil" , version.ref = " coil" }
94
126
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
+
97
129
98
130
#
99
- # Gradle API
131
+ # Test
100
132
#
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
+
102
140
103
141
#
104
142
# other
105
143
#
106
144
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" }
108
149
109
150
[bundles ]
110
151
@@ -126,4 +167,35 @@ androidx-datastore = [
126
167
androidx-room = [
127
168
" androidx-room-runtime" ,
128
169
" 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