-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
/
Copy pathlibs.versions.toml
222 lines (208 loc) · 13.4 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
219
220
221
222
[versions]
compileSdk = "35"
# Changing minSdk means newer AnkiDroid versions will not support older devices.
# However the Play Store will keep old AnkiDroid versions available for older
# devices *if* you also change AnkiDroid/build.gradle play { retain {} } block
# to include the version codes of the last released version for the older
# minSdk. It is critical to update those version codes when you change this.
minSdk = "24" # also in testlib/build.gradle.kts
targetSdk = "34" # also in ../robolectricDownloader.gradle
acra = '5.12.0'
ktlint = '1.5.0'
# AGP is included in Android Studio and changelogs are not well maintained/at a stable URL
# Open https://developer.android.com/build/releases/gradle-plugin#patch-releases
# Maybe select a "bug fixes" link ->
# https://developer.android.com/studio/releases/fixed-bugs/studio/2024.1.1
#
# Old changelogs - See 'Table of Contents' in sidebar
# https://developer.android.com/build/releases/past-releases
androidGradlePlugin = "8.8.0"
# https://developer.android.com/jetpack/androidx/releases/activity
androidxActivity = "1.10.0"
# https://developer.android.com/jetpack/androidx/releases/annotation
androidxAnnotation = "1.9.1"
# https://developer.android.com/jetpack/androidx/releases/appcompat
androidxAppCompat = "1.7.0"
# https://developer.android.com/jetpack/androidx/releases/browser
androidxBrowser = "1.8.0"
# https://developer.android.com/jetpack/androidx/releases/constraintlayout
androidxConstraintlayout = "2.2.0"
# https://developer.android.com/jetpack/androidx/releases/core
androidxCoreKtx = "1.15.0"
# https://developer.android.com/jetpack/androidx/releases/draganddrop
androidxDragAndDrop = "1.0.0"
# https://developer.android.com/jetpack/androidx/releases/exifinterface
androidxExifinterface = "1.3.7"
# https://developer.android.com/jetpack/androidx/releases/fragment
androidxFragmentKtx = "1.8.5"
# https://developer.android.com/jetpack/androidx/releases/media
androidxMedia = "1.7.0"
# https://developer.android.com/jetpack/androidx/releases/media3
androidxMedia3 = "1.5.1"
# https://developer.android.com/jetpack/androidx/releases/preference
androidxPreferenceKtx = "1.2.1"
# https://developer.android.com/jetpack/androidx/releases/recyclerview
androidxRecyclerview = "1.4.0"
# https://developer.android.com/jetpack/androidx/releases/sqlite
androidxSqlite = "2.4.0"
# https://developer.android.com/jetpack/androidx/releases/swiperefreshlayout
androidxSwipeRefreshLayout = "1.1.0"
# https://developer.android.com/jetpack/androidx/releases/test
androidxTest = "1.6.1"
# https://developer.android.com/jetpack/androidx/releases/test-uiautomator
androidxTestUiAutomator = "2.3.0"
# https://developer.android.com/jetpack/androidx/releases/viewpager2
androidxViewpager2 = "1.1.0"
# https://developer.android.com/jetpack/androidx/releases/webkit
androidxWebkit = "1.12.1"
# https://developer.android.com/jetpack/androidx/releases/work
androidxWork = "2.10.0"
ankiBackend = '0.1.49-anki25.01rc1'
autoService = "1.1.1"
autoServiceAnnotations = "1.1.1"
colorpicker = "1.2.0"
# https://commons.apache.org/proper/commons-collections/changes-report.html
commonsCollections4 = "4.4"
# https://commons.apache.org/proper/commons-compress/changes-report.html
commonsCompress = "1.27.1"
# https://commons.apache.org/proper/commons-exec/changes-report.html
commonsExec = "1.4.0"
# https://commons.apache.org/proper/commons-io/changes-report.html
commonsIo = "2.18.0"
coroutines = '1.10.1'
desugar-jdk-libs-nio = "2.1.4"
drawer = "1.0.3"
espresso = '3.6.1'
mikehardyGoogleAnalyticsJava7 = "2.0.13"
hamcrest = "3.0"
imageCropper = "4.6.0"
javaSemver = "0.10.2"
jetbrainsAnnotations = "26.0.2"
json = "20250107"
jsoup = "1.18.3"
androidTestJunit = "1.2.1"
junitJupiter = "5.11.4"
junitPlatformLauncher = "1.11.4"
# https://github.com/JetBrains/kotlin/releases/
kotlin = '2.1.0'
kotlinxSerializationJson = "1.8.0"
ktlintGradlePlugin = "12.1.2"
leakcanaryAndroid = "2.14"
lint = '31.8.0'
material = "1.12.0"
materialTapTargetPrompt = "3.3.2"
mockitoInline = "5.2.0"
mockitoKotlin = "5.4.0"
mockk = "1.13.16"
nanohttpd = "2.3.1"
okhttp = "4.12.0"
# https://github.com/protocolbuffers/protobuf/releases
protobufKotlinLite = "4.29.3"
# ../AnkiDroid/robolectricDownload.gradle may need changes - read instructions in that file
robolectric = "4.14.1"
searchpreference = "2.5.1"
seismic = "1.0.3"
sharedPreferencesMock = "1.2.4"
slackKeeper = "0.16.1"
slf4jTimber = "3.1"
timber = "5.0.1"
# https://github.com/Triple-T/gradle-play-publisher/releases
# In the past, releases have been published before the changelog
triplet = "3.12.1"
turbine = "1.2.0"
[libraries]
acra-limiter = { module = "ch.acra:acra-limiter", version.ref = "acra" }
acra-toast = { module = "ch.acra:acra-toast", version.ref = "acra" }
acra-dialog = { module = "ch.acra:acra-dialog", version.ref = "acra" }
acra-http = { module = "ch.acra:acra-http", version.ref = "acra" }
android-image-cropper = { module = "com.vanniktech:android-image-cropper", version.ref = "imageCropper" }
androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidxConstraintlayout" }
androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version.ref = "androidxFragmentKtx" }
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "androidxExifinterface" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCoreKtx" }
androidx-draganddrop = { module = "androidx.draganddrop:draganddrop", version.ref = "androidxDragAndDrop" }
androidx-browser = { module = "androidx.browser:browser", version.ref = "androidxBrowser" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppCompat" }
androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidxAnnotation" }
androidx-activity = { module = "androidx.activity:activity", version.ref = "androidxActivity" }
androidx-media3-ui = { module = "androidx.media3:media3-ui", version.ref = "androidxMedia3" }
androidx-media3-exoplayer-dash = { module = "androidx.media3:media3-exoplayer-dash", version.ref = "androidxMedia3" }
androidx-media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "androidxMedia3" }
androidx-preference-ktx = { module = "androidx.preference:preference-ktx", version.ref = "androidxPreferenceKtx" }
androidx-media = { module = "androidx.media:media", version.ref = "androidxMedia" }
androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidxTestUiAutomator" }
androidx-webkit = { module = "androidx.webkit:webkit", version.ref = "androidxWebkit" }
androidx-viewpager2 = { module = "androidx.viewpager2:viewpager2", version.ref = "androidxViewpager2" }
androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "androidxSwipeRefreshLayout" }
androidx-sqlite-framework = { module = "androidx.sqlite:sqlite-framework", version.ref = "androidxSqlite" }
androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidxRecyclerview" }
auto-service = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
auto-service-annotations = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoServiceAnnotations" }
jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref = "jetbrainsAnnotations" }
colorpicker = { module = "com.github.mrudultora:Colorpicker", version.ref = "colorpicker" }
commons-io = { module = "commons-io:commons-io", version.ref = "commonsIo" }
commons-collections4 = { module = "org.apache.commons:commons-collections4", version.ref = "commonsCollections4" }
commons-compress = { module = "org.apache.commons:commons-compress", version.ref = "commonsCompress" }
desugar-jdk-libs-nio = { module = "com.android.tools:desugar_jdk_libs_nio", version.ref = "desugar-jdk-libs-nio" }
drakeet-drawer = { module = "com.drakeet.drawer:drawer", version.ref = "drawer" }
mikehardy-google-analytics-java7 = { module = "net.mikehardy:google-analytics-java7", version.ref = "mikehardyGoogleAnalyticsJava7" }
ankiBackend-backend = { module = "io.github.david-allison:anki-android-backend", version.ref = "ankiBackend" }
ankiBackend-testing = { module = "io.github.david-allison:anki-android-backend-testing", version.ref = "ankiBackend" }
java-semver = { module = "com.github.zafarkhaja:java-semver", version.ref = "javaSemver" }
jsoup = { module = "org.jsoup:jsoup", version.ref = "jsoup" }
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core" }
leakcanary-android = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanaryAndroid" }
google-material = { module = "com.google.android.material:material", version.ref = "material" }
tapTargetPrompt = { module = "uk.co.samuelwall:material-tap-target-prompt", version.ref = "materialTapTargetPrompt" }
nanohttpd = { module = "org.nanohttpd:nanohttpd", version.ref = "nanohttpd" }
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
android-lint-api = { module = "com.android.tools.lint:lint-api", version.ref = "lint" }
android-lint = { module = "com.android.tools.lint:lint", version.ref = "lint" }
android-lint-tests = { module = "com.android.tools.lint:lint-tests", version.ref = "lint" }
protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobufKotlinLite" }
search-preference = { module = "com.github.ByteHamster:SearchPreference", version.ref = "searchpreference" }
seismic = { module = "com.squareup:seismic", version.ref = "seismic" }
slf4j-timber = { module = "com.arcao:slf4j-timber", version.ref = "slf4jTimber" }
jakewharton-timber = { module = "com.jakewharton.timber:timber", version.ref = "timber" }
androidx-work-runtime = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "androidxWork" }
#testing libs
androidx-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "espresso" }
androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espresso" }
androidx-fragment-testing = { module = "androidx.fragment:fragment-testing", version.ref = "androidxFragmentKtx" }
androidx-fragment-testing-manifest = { module = "androidx.fragment:fragment-testing-manifest", version.ref = "androidxFragmentKtx" }
androidx-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidTestJunit" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidxTest" }
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidxTest" }
androidx-test-core = { module = "androidx.test:core", version.ref = "androidxTest" }
androidx-work-testing = { module = "androidx.work:work-testing", version.ref = "androidxWork" }
commons-exec = { module = "org.apache.commons:commons-exec", version.ref = "commonsExec" }
hamcrest = { module = "org.hamcrest:hamcrest", version.ref = "hamcrest" }
hamcrest-library = { module = "org.hamcrest:hamcrest-library", version.ref = "hamcrest" }
ivanshafran-shared-preferences-mock = { module = "io.github.ivanshafran:shared-preferences-mock", version.ref = "sharedPreferencesMock" }
json = { module = "org.json:json", version.ref = "json" }
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junitJupiter" }
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junitJupiter" }
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junitPlatformLauncher" }
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine", version.ref = "junitJupiter" }
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
kotlin-test-junit5 = { module = "org.jetbrains.kotlin:kotlin-test-junit5", version.ref = "kotlin" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockitoInline" }
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockitoKotlin" }
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
cashapp-turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
[plugins]
android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
tripletPlay = { id = "com.github.triplet.play", version.ref = "triplet" }
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
ktlint-gradle-plugin = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlintGradlePlugin" }
keeper = { id = "com.slack.keeper", version.ref = "slackKeeper" }