forked from panpf/sketch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libs.versions.toml
218 lines (204 loc) · 11.6 KB
/
libs.versions.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
[versions]
# app
app-compileSdk = "33"
app-minSdk = "16"
app-minSdkCompose = "21"
app-targetSdk = "28"
app-versionCode = "3209"
app-versionName = "3.2.1-rc03"
# kotlin
kotlin = "1.7.20"
kotlinx-coroutines = "1.6.4"
kotlinx-serialization-json = "1.3.3"
# android
android-plugin = "7.4.0"
androidx-activity = "1.6.1"
androidx-annotation = "1.5.0"
androidx-appcompat = "1.6.0"
androidx-compose-animation = "1.3.3"
androidx-compose-compiler = "1.3.2"
androidx-compose-foundation = "1.3.1"
androidx-compose-material = "1.3.1"
androidx-compose-material3 = "1.0.1"
androidx-compose-runtime = "1.3.3"
androidx-compose-ui = "1.3.3"
androidx-constraintlayout = "2.1.4"
androidx-constraintlayout-compose = "1.0.1"
androidx-core = "1.9.0"
androidx-exifinterface = "1.3.5"
androidx-fragment = "1.5.5"
androidx-lifecycle = "2.5.1"
androidx-multidex = "2.0.1"
androidx-navigation = "2.5.3"
androidx-paging = "3.1.1"
androidx-paging-compose = "1.0.0-alpha17"
androidx-palette = "1.0.0"
androidx-recyclerview = "1.2.1"
androidx-swiperefreshlayout = "1.1.0"
androidx-test-runner = "1.5.2"
androidx-test-rules = "1.5.0"
androidx-test-ext-junit = "1.1.5"
# google
google-accompanist = "0.25.1"
google-material = "1.6.1"
# panpf
panpf-activitymonitor = "1.0.0"
panpf-assemblyadapter4 = "4.1.0"
panpf-liveevent = "1.0.0"
panpf-tools4a = "1.0.0"
panpf-tools4j = "1.0.0"
panpf-tools4k = "1.0.0"
# other
androidgifdrawable = "1.2.15"
androidsvg = "1.4"
ffmpegMediaMetadataRetriever = "1.0.16"
junit = "4.13.2"
leakcanary = "2.9.1"
maven-publish-plugin = "0.18.0"
mmkv = "1.2.13"
okhttp3 = "3.12.0" # 3.12.0 是最后一个支持 Android 5.0 以下的版本
retrofit2 = "2.6.4"
retrofit2-kotlinxSerializationConverter = "0.8.0"
tinypinyin = "2.0.3"
[libraries]
# kotlin
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-serialization-plugin = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" }
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization-json" }
# android
android-plugin = { module = "com.android.tools.build:gradle", version.ref = "android-plugin" }
androidx-activity = { module = "androidx.activity:activity", version.ref = "androidx-activity" }
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" }
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidx-annotation" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
androidx-appcompat-resources = { module = "androidx.appcompat:appcompat-resources", version.ref = "androidx-appcompat" }
androidx-compose-animation = { module = "androidx.compose.animation:animation", version.ref = "androidx-compose-animation" }
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "androidx-compose-foundation" }
androidx-compose-material = { module = "androidx.compose.material:material", version.ref = "androidx-compose-material" }
androidx-compose-runtime = { module = "androidx.compose.runtime:runtime", version.ref = "androidx-compose-runtime" }
androidx-compose-ui = { module = "androidx.compose.ui:ui", version.ref = "androidx-compose-ui" }
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "androidx-compose-ui" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx-constraintlayout" }
androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx-core" }
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "androidx-exifinterface" }
androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx-fragment" }
androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx-lifecycle" }
androidx-multidex = { module = "androidx.multidex:multidex", version.ref = "androidx-multidex" }
androidx-navigation-fragment = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "androidx-navigation" }
androidx-navigation-ui = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "androidx-navigation" }
androidx-navigation-safeargsgradle-plugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "androidx-navigation" }
androidx-paging-common = { module = "androidx.paging:paging-common", version.ref = "androidx-paging" }
androidx-paging-compose = { module = "androidx.paging:paging-compose", version.ref = "androidx-paging-compose" }
androidx-paging-runtime = { module = "androidx.paging:paging-runtime", version.ref = "androidx-paging" }
androidx-palette = { module = "androidx.palette:palette", version.ref = "androidx-palette" }
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidx-recyclerview" }
androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "androidx-swiperefreshlayout" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test-runner" }
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx-test-rules" }
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext-junit" }
# google
google-accompanist-drawablepainter = { module = "com.google.accompanist:accompanist-drawablepainter", version.ref = "google-accompanist" }
google-accompanist-swiperefresh = { module = "com.google.accompanist:accompanist-swiperefresh", version.ref = "google-accompanist" }
google-material = { module = "com.google.android.material:material", version.ref = "google-material" }
# panpf
panpf-activitymonitor = { module = "io.github.panpf.activitymonitor:activitymonitor", version.ref = "panpf-activitymonitor" }
panpf-assemblyadapter4-pager = { module = "io.github.panpf.assemblyadapter4:assemblyadapter-pager", version.ref = "panpf-assemblyadapter4" }
panpf-assemblyadapter4-pager2 = { module = "io.github.panpf.assemblyadapter4:assemblyadapter-pager2", version.ref = "panpf-assemblyadapter4" }
panpf-assemblyadapter4-recycler = { module = "io.github.panpf.assemblyadapter4:assemblyadapter-recycler", version.ref = "panpf-assemblyadapter4" }
panpf-assemblyadapter4-recycler-paging = { module = "io.github.panpf.assemblyadapter4:assemblyadapter-recycler-paging", version.ref = "panpf-assemblyadapter4" }
panpf-liveevent = { module = "io.github.panpf.liveevent:liveevent", version.ref = "panpf-liveevent" }
panpf-tools4a-activity = { module = "io.github.panpf.tools4a:tools4a-activity-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-device = { module = "io.github.panpf.tools4a:tools4a-device-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-display = { module = "io.github.panpf.tools4a:tools4a-display-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-dimen = { module = "io.github.panpf.tools4a:tools4a-dimen-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-fileprovider = { module = "io.github.panpf.tools4a:tools4a-fileprovider-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-toast = { module = "io.github.panpf.tools4a:tools4a-toast-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-network = { module = "io.github.panpf.tools4a:tools4a-network-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-run = { module = "io.github.panpf.tools4a:tools4a-run-ktx", version.ref = "panpf-tools4a" }
panpf-tools4a-test = { module = "io.github.panpf.tools4a:tools4a-test-ktx", version.ref = "panpf-tools4a" }
panpf-tools4j-math = { module = "io.github.panpf.tools4j:tools4j-math-ktx", version.ref = "panpf-tools4j" }
panpf-tools4j-date = { module = "io.github.panpf.tools4j:tools4j-date-ktx", version.ref = "panpf-tools4j" }
panpf-tools4j-io = { module = "io.github.panpf.tools4j:tools4j-io-ktx", version.ref = "panpf-tools4j" }
panpf-tools4j-test = { module = "io.github.panpf.tools4j:tools4j-test-ktx", version.ref = "panpf-tools4j" }
panpf-tools4j-reflect = { module = "io.github.panpf.tools4j:tools4j-reflect-ktx", version.ref = "panpf-tools4j" }
panpf-tools4j-security = { module = "io.github.panpf.tools4j:tools4j-security-ktx", version.ref = "panpf-tools4j" }
panpf-tools4k = { module = "io.github.panpf.tools4k:tools4k", version.ref = "panpf-tools4k" }
# other
androidgifdrawable = { module = "pl.droidsonroids.gif:android-gif-drawable", version.ref = "androidgifdrawable" }
androidsvg = { module = "com.caverock:androidsvg-aar", version.ref = "androidsvg" }
ffmpegMediaMetadataRetriever-core = { module = "com.github.wseemann:FFmpegMediaMetadataRetriever-core", version.ref = "ffmpegMediaMetadataRetriever" }
ffmpegMediaMetadataRetriever-native = { module = "com.github.wseemann:FFmpegMediaMetadataRetriever-native", version.ref = "ffmpegMediaMetadataRetriever" }
junit = { module = "junit:junit", version.ref = "junit" }
leakcanary = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" }
maven-publish-plugin = { module = "io.github.panpf.maven-publish:maven-publish-gradle-plugin", version.ref = "maven-publish-plugin" }
mmkv = { module = "com.tencent:mmkv", version.ref = "mmkv" }
okhttp3 = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp3" }
okhttp3-logging = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "okhttp3" }
retrofit2 = { module = "com.squareup.retrofit2:retrofit", version.ref = "retrofit2" }
retrofit2-kotlinxSerializationConverter = { module = "com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter", version.ref = "retrofit2-kotlinxSerializationConverter" }
tinypinyin = { module = "com.github.promeg:tinypinyin", version.ref = "tinypinyin" }
[bundles]
androidx-compose = [
"androidx-activity-compose",
"androidx-compose-animation",
"androidx-compose-foundation",
"androidx-compose-material",
"androidx-compose-runtime",
"androidx-compose-ui",
"androidx-compose-ui-tooling",
"androidx-lifecycle-viewmodel-compose",
"androidx-paging-compose",
"google-accompanist-swiperefresh",
]
androidx-navigation = [
"androidx-navigation-fragment",
"androidx-navigation-ui",
]
androidx-paging = [
"androidx-paging-common",
"androidx-paging-runtime",
]
panpf-assemblyadapter4 = [
"panpf-assemblyadapter4-pager",
"panpf-assemblyadapter4-pager2",
"panpf-assemblyadapter4-recycler",
"panpf-assemblyadapter4-recycler-paging",
]
panpf-tools4a = [
"panpf-tools4a-activity",
"panpf-tools4a-device",
"panpf-tools4a-display",
"panpf-tools4a-dimen",
"panpf-tools4a-fileprovider",
"panpf-tools4a-network",
"panpf-tools4a-toast",
]
panpf-tools4j = [
"panpf-tools4j-date",
"panpf-tools4j-math",
"panpf-tools4j-io",
"panpf-tools4j-security",
]
retrofit2 = [
"retrofit2",
"retrofit2-kotlinxSerializationConverter",
]
test = [
"androidx-test-runner",
"androidx-test-rules",
"androidx-test-ext-junit",
"junit",
"panpf-tools4a-device",
"panpf-tools4a-dimen",
"panpf-tools4a-display",
"panpf-tools4a-network",
"panpf-tools4a-run",
"panpf-tools4a-test",
"panpf-tools4j-reflect",
"panpf-tools4j-security",
"panpf-tools4j-test",
]