libs.versions.toml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. [versions]
  2. activityCompose = "1.10.1"
  3. androidGradle = "8.9.0"
  4. androidImageCropper = "4.5.0"
  5. androidx_activity = "1.10.1"
  6. androidx_annotation = "1.9.1"
  7. androidx_appcompat = "1.7.0"
  8. androidx_biometric = "1.1.0"
  9. androidx_camera = "1.4.1"
  10. androidx_compose = "2.8.7"
  11. androidx_composeBom = "2025.03.00"
  12. androidx_concurrentFutures = "1.2.0"
  13. androidx_constraintlayout = "2.2.1"
  14. androidx_core = "1.15.0"
  15. androidx_espresso = "3.6.1"
  16. androidx_fragment = "1.8.6"
  17. androidx_junit = "1.2.1"
  18. androidx_lifecycle = "2.8.7"
  19. androidx_lifecycleExtensions = "2.2.0"
  20. androidx_media = "1.7.0"
  21. androidx_mmedia3 = "1.7.1"
  22. androidx_pagingRuntime = "3.3.6"
  23. androidx_palette = "1.0.0"
  24. androidx_preference = "1.2.1"
  25. androidx_recyclerview = "1.4.0"
  26. androidx_room = "2.6.1"
  27. androidx_sharetarget = "1.2.0"
  28. androidx_splashscreen = "1.0.1"
  29. androidx_sqlite = "2.5.0"
  30. androidx_swiperefreshlayout = "1.1.0"
  31. androidx_test_core = "1.6.1"
  32. androidx_test_rules = "1.6.1"
  33. androidx_test_runner = "1.6.2"
  34. androidx_window = "1.3.0"
  35. androidx_workRuntime = "2.10.0"
  36. archunitJunit4 = "0.18.0"
  37. bcprovJdk15to18 = "1.80"
  38. chunkedDc = "1.0.1"
  39. commonsIo = "2.6" # >2.6 uses JDK8 features not supported by Java 8+ API desugaring, thus requiring Android 8
  40. commonsText = "1.13.0"
  41. desugarJdkLibs = "2.1.5"
  42. eddsa = "0.3.0"
  43. ezVcard = "0.11.3" # >0.11.3 uses JDK8 features not supported by Java 8+ API desugaring, thus requiring Android 8. See https://github.com/mangstadt/ez-vcard/wiki/Changelog
  44. fastlaneScreengrab = "2.1.1"
  45. fastscroll = "1.3.0"
  46. firebaseMessaging = "24.1.0"
  47. gestureViews = "2.8.3"
  48. glide = "4.16.0" # Glide 4.15+ does not work on API 21
  49. hmsPush = "6.3.0.304"
  50. jacksonCore = "2.14.3" # Note: Any newer version breaks the compatibility with API versions older than 26. If we use a newer version of jackson core, the webclient does not work anymore on android 7 (and older).
  51. jna = "5.13.0" # Note: when updating this version, we need to include the libjnidispatch.so of the same version for each ABI in app/libs/. Note that the description in the readme files in app/libs/ files should be updated when this version is changed. The libjnidispatch.so files can be found in the jna.aar file: https://github.com/java-native-access/jna/tree/master/dist
  52. json = "20250107"
  53. junit = "4.13.2"
  54. kotlin = "2.1.0"
  55. kotlinx_coroutines = "1.10.1"
  56. kotlinx_serializationJson = "1.6.3"
  57. ksp = "2.1.0-1.0.29" # must be kept in sync with kotlin version, see https://github.com/google/ksp/releases
  58. ktlint = "12.2.0"
  59. leakcanary = "2.14"
  60. libphonenumber = "9.0.1"
  61. maplibre = "11.0.1"
  62. material = "1.12.0"
  63. mockito = "2.0.9"
  64. mockitoCore = "4.8.1"
  65. mockk = "1.14.0"
  66. msgpackCore = "0.8.24"
  67. nvWebsocketClient = "2.9"
  68. okhttp3 = "4.12.0"
  69. opencsv = "2.3"
  70. playServices = "18.6.0"
  71. protobufKotlinLite = "4.30.2"
  72. rustAndroid = "0.9.6"
  73. saltyrtcClient = "0.14.2"
  74. saltyrtcTaskWebrtc = "0.18.1"
  75. slf4j = "2.0.17"
  76. sonarqube = "4.4.1.3373"
  77. sqlcipherAndroid = "4.9.0"
  78. stem = "2.12.0"
  79. streamsupportCfuture = "1.7.4"
  80. streamsupportFlow = "1.7.4"
  81. subsamplingScaleImageView = "3.10.0"
  82. taptargetview = "1.13.3"
  83. trustkit = "1.1.5"
  84. turbine = "1.2.0"
  85. uiautomator = "2.3.0"
  86. webrtcAndroid = "134.0.0"
  87. zip4j = "2.11.5"
  88. zxing = "3.3.3" # zxing 3.4 crashes on API < 24
  89. [libraries]
  90. android-gradle = { module = "com.android.tools.build:gradle", version.ref = "androidGradle" }
  91. androidImageCropper = { module = "com.vanniktech:android-image-cropper", version.ref = "androidImageCropper" }
  92. androidx-activity = { module = "androidx.activity:activity-ktx", version.ref = "androidx_activity" }
  93. androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
  94. androidx-annotation = { module = "androidx.annotation:annotation", version.ref = "androidx_annotation" }
  95. androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx_appcompat" }
  96. androidx-biometric = { module = "androidx.biometric:biometric", version.ref = "androidx_biometric" }
  97. androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "androidx_camera" }
  98. androidx-camera-video = { module = "androidx.camera:camera-video", version.ref = "androidx_camera" }
  99. androidx-camera-view = { module = "androidx.camera:camera-view", version.ref = "androidx_camera" }
  100. androidx-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidx_camera" }
  101. androidx-concurrent-futures = { module = "androidx.concurrent:concurrent-futures", version.ref = "androidx_concurrentFutures" }
  102. androidx-constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "androidx_constraintlayout" }
  103. androidx-core = { module = "androidx.core:core-ktx", version.ref = "androidx_core" }
  104. androidx-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "androidx_espresso" }
  105. androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidx_espresso" }
  106. androidx-espresso-intents = { module = "androidx.test.espresso:espresso-intents", version.ref = "androidx_espresso" }
  107. androidx-fragment = { module = "androidx.fragment:fragment-ktx", version.ref = "androidx_fragment" }
  108. androidx-junit = { module = "androidx.test.ext:junit-ktx", version.ref = "androidx_junit" }
  109. androidx-lifecycle-commonJava8 = { module = "androidx.lifecycle:lifecycle-common-java8", version.ref = "androidx_lifecycle" }
  110. androidx-lifecycle-extensions = { module = "androidx.lifecycle:lifecycle-extensions", version.ref = "androidx_lifecycleExtensions" }
  111. androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidx_lifecycle" }
  112. androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "androidx_lifecycle" }
  113. androidx-lifecycle-runtime = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx_lifecycle" }
  114. androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidx_compose" }
  115. androidx-lifecycle-service = { module = "androidx.lifecycle:lifecycle-service", version.ref = "androidx_lifecycle" }
  116. androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx_lifecycle" }
  117. androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidx_compose" }
  118. androidx-lifecycle-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "androidx_lifecycle" }
  119. androidx-material3 = { module = "androidx.compose.material3:material3" }
  120. androidx-materialIconsExtended = { module = "androidx.compose.material:material-icons-extended" }
  121. androidx-media = { module = "androidx.media:media", version.ref = "androidx_media" }
  122. androidx-media3-exoplayer = { module = "androidx.media3:media3-exoplayer", version.ref = "androidx_mmedia3" }
  123. androidx-media3-session = { module = "androidx.media3:media3-session", version.ref = "androidx_mmedia3" }
  124. androidx-media3-ui = { module = "androidx.media3:media3-ui", version.ref = "androidx_mmedia3" }
  125. androidx-paging-runtime = { module = "androidx.paging:paging-runtime-ktx", version.ref = "androidx_pagingRuntime" }
  126. androidx-palette = { module = "androidx.palette:palette-ktx", version.ref = "androidx_palette" }
  127. androidx-preference = { module = "androidx.preference:preference-ktx", version.ref = "androidx_preference" }
  128. androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version.ref = "androidx_recyclerview" }
  129. androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "androidx_room" }
  130. androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "androidx_room" }
  131. androidx-sharetarget = { module = "androidx.sharetarget:sharetarget", version.ref = "androidx_sharetarget" }
  132. androidx-splashscreen = { module = "androidx.core:core-splashscreen", version.ref = "androidx_splashscreen" }
  133. androidx-sqlite = { module = "androidx.sqlite:sqlite-ktx", version.ref = "androidx_sqlite" }
  134. androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "androidx_swiperefreshlayout" }
  135. androidx-test-core = { module = "androidx.test:core-ktx", version.ref = "androidx_test_core" }
  136. androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidx_test_rules" }
  137. androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx_test_runner" }
  138. androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiautomator" }
  139. androidx-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
  140. androidx-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
  141. androidx-window = { module = "androidx.window:window", version.ref = "androidx_window" }
  142. androidx-work-runtime = { module = "androidx.work:work-runtime-ktx", version.ref = "androidx_workRuntime" }
  143. archunit-junit4 = { module = "com.tngtech.archunit:archunit-junit4", version.ref = "archunitJunit4" }
  144. bcprov-jdk15to18 = { module = "org.bouncycastle:bcprov-jdk15to18", version.ref = "bcprovJdk15to18" }
  145. chunkedDc = { module = "org.saltyrtc:chunked-dc", version.ref = "chunkedDc" }
  146. commonsIo = { module = "commons-io:commons-io", version.ref = "commonsIo" }
  147. commonsText = { module = "org.apache.commons:commons-text", version.ref = "commonsText" }
  148. compose-bom = { module = "androidx.compose:compose-bom", version.ref = "androidx_composeBom" }
  149. desugarJdkLibs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugarJdkLibs" }
  150. eddsa = { module = "net.i2p.crypto:eddsa", version.ref = "eddsa" }
  151. ezVcard = { module = "com.googlecode.ez-vcard:ez-vcard", version.ref = "ezVcard" }
  152. fastlane-screengrab = { module = "tools.fastlane:screengrab", version.ref = "fastlaneScreengrab" }
  153. fastscroll = { module = "me.zhanghai.android.fastscroll:library", version.ref = "fastscroll" }
  154. firebase-messaging = { module = "com.google.firebase:firebase-messaging", version.ref = "firebaseMessaging" }
  155. gestureViews = { module = "com.alexvasilkov:gesture-views", version.ref = "gestureViews" }
  156. glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" }
  157. glide-compiler = { module = "com.github.bumptech.glide:compiler", version.ref = "glide" }
  158. hmsPush = { module = "com.huawei.hms:push", version.ref = "hmsPush" }
  159. jackson-core = { module = "com.fasterxml.jackson.core:jackson-core", version.ref = "jacksonCore" }
  160. jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
  161. json = { module = "org.json:json", version.ref = "json" }
  162. junit = { module = "junit:junit", version.ref = "junit" }
  163. kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
  164. kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk7", version.ref = "kotlin" }
  165. kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
  166. kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx_coroutines" }
  167. kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx_coroutines" }
  168. kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx_coroutines" }
  169. kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx_serializationJson" }
  170. leakcanary = { module = "com.squareup.leakcanary:leakcanary-android", version.ref = "leakcanary" }
  171. libphonenumber = { module = "com.googlecode.libphonenumber:libphonenumber", version.ref = "libphonenumber" }
  172. maplibre = { module = "org.maplibre.gl:android-sdk", version.ref = "maplibre" }
  173. material = { module = "com.google.android.material:material", version.ref = "material" }
  174. mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" }
  175. mockito-powermock-api = { module = "org.powermock:powermock-api-mockito2", version.ref = "mockito" }
  176. mockito-powermock-junit4 = { module = "org.powermock:powermock-module-junit4", version.ref = "mockito" }
  177. mockito-powermock-junit4Rule = { module = "org.powermock:powermock-module-junit4-rule", version.ref = "mockito" }
  178. mockito-powermock-junit4RuleAgent = { module = "org.powermock:powermock-module-junit4-rule-agent", version.ref = "mockito" }
  179. mockito-powermock-reflect = { module = "org.powermock:powermock-reflect", version.ref = "mockito" }
  180. mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
  181. mockkAndroid = { module = "io.mockk:mockk-android", version.ref = "mockk" }
  182. msgpack-core = { module = "org.msgpack:msgpack-core", version.ref = "msgpackCore" }
  183. nvWebsocket-client = { module = "com.neovisionaries:nv-websocket-client", version.ref = "nvWebsocketClient" }
  184. okhttp3 = { module = "com.squareup.okhttp3:okhttp" }
  185. okhttp3-bom = { module = "com.squareup.okhttp3:okhttp-bom", version.ref = "okhttp3" }
  186. okhttp3-loggingInterceptor = { module = "com.squareup.okhttp3:logging-interceptor" }
  187. opencsv = { module = "net.sf.opencsv:opencsv", version.ref = "opencsv" }
  188. playServices-base = { module = "com.google.android.gms:play-services-base", version.ref = "playServices" }
  189. protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobufKotlinLite" }
  190. saltyrtc-client = { module = "org.saltyrtc:saltyrtc-client", version.ref = "saltyrtcClient" }
  191. saltyrtc-taskWebrtc = { module = "org.saltyrtc:saltyrtc-task-webrtc", version.ref = "saltyrtcTaskWebrtc" }
  192. slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
  193. slf4j-simple = { module = "org.slf4j:slf4j-simple", version.ref = "slf4j" }
  194. sqlcipher-android = { module = "net.zetetic:sqlcipher-android", version.ref = "sqlcipherAndroid" }
  195. streamsupport-cfuture = { module = "net.sourceforge.streamsupport:streamsupport-cfuture", version.ref = "streamsupportCfuture" } # Backport of Streams and CompletableFuture. Remove once only supporting API level 24+
  196. streamsupport-flow = { module = "net.sourceforge.streamsupport:streamsupport-flow", version.ref = "streamsupportFlow" }
  197. subsamplingScaleImageView = { module = "com.davemorrissey.labs:subsampling-scale-image-view-androidx", version.ref = "subsamplingScaleImageView" }
  198. taptargetview = { module = "com.getkeepsafe.taptargetview:taptargetview", version.ref = "taptargetview" }
  199. trustkit = { module = "com.datatheorem.android.trustkit:trustkit", version.ref = "trustkit" }
  200. turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
  201. webrtcAndroid = { module = "ch.threema:webrtc-android", version.ref = "webrtcAndroid" }
  202. zip4j = { module = "net.lingala.zip4j:zip4j", version.ref = "zip4j" }
  203. zxing = { module = "com.google.zxing:core", version.ref = "zxing" }
  204. [plugins]
  205. compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
  206. jacoco = { id = "jacoco" }
  207. java-library = { id = "java-library" }
  208. java-testFixtures = { id = "java-test-fixtures" }
  209. kotlin-jvm = { id = "org.jetbrains.kotlin.jvm" }
  210. kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
  211. ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
  212. ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" }
  213. mavenPublish = { id = "maven-publish" }
  214. rust-android = { id = "org.mozilla.rust-android-gradle.rust-android", version.ref = "rustAndroid" }
  215. sonarqube = { id = "org.sonarqube", version.ref = "sonarqube" }
  216. stem = { id = "com.likethesalad.stem", version.ref = "stem" }