• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[versions]
2# Used directly in build.gradle.kts files
3compileSdk = "34"
4minSdk = "21"
5targetSdk = "34"
6composeCompiler = "1.5.10"
7
8# Used below in dependency definitions
9# Compose and Accompanist versions are linked
10# See https://github.com/google/accompanist?tab=readme-ov-file#compose-versions
11composeBom = "2024.04.00"
12accompanist = "0.34.0"
13# kotlinPlugin and composeCompiler are linked
14# See https://developer.android.com/jetpack/androidx/releases/compose-kotlin
15kotlinPlugin = "1.9.22"
16androidGradlePlugin = "8.4.0-rc01"
17protobufPlugin = "0.9.4"
18
19androidxActivityCompose = "1.8.2"
20androidxAppCompat = "1.6.1"
21androidxBenchmark = "1.2.3"
22androidxCamera = "1.4.0-SNAPSHOT"
23androidxCameraViewfinder = "1.0.0-SNAPSHOT"
24androidxConcurrentFutures = "1.1.0"
25androidxCoreKtx = "1.12.0"
26androidxDatastore = "1.0.0"
27androidxGraphicsCore = "1.0.0-beta01"
28androidxHiltNavigationCompose = "1.2.0"
29androidxLifecycle = "2.7.0"
30androidxNavigationCompose = "2.7.7"
31androidxProfileinstaller = "1.3.1"
32androidxTestEspresso = "3.5.1"
33androidxTestJunit = "1.1.5"
34androidxTestMonitor = "1.6.1"
35androidxTestRules = "1.5.0"
36androidxTestUiautomator = "2.3.0"
37androidxTracing = "1.2.0"
38kotlinxAtomicfu = "0.23.2"
39kotlinxCoroutines = "1.8.0"
40hilt = "2.51"
41junit = "4.13.2"
42material = "1.11.0"
43mockitoCore = "5.6.0"
44protobuf = "3.25.2"
45robolectric = "4.11.1"
46truth = "1.4.2"
47
48[libraries]
49accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" }
50android-material = { module = "com.google.android.material:material", version.ref = "material" }
51androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivityCompose" }
52androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppCompat" }
53androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "androidxBenchmark" }
54androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCoreKtx" }
55androidx-datastore = { module = "androidx.datastore:datastore", version.ref = "androidxDatastore" }
56androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxTestEspresso" }
57androidx-graphics-core = { module = "androidx.graphics:graphics-core", version.ref = "androidxGraphicsCore" }
58androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidxTestJunit" }
59androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "androidxLifecycle" }
60androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "androidxLifecycle" }
61androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigationCompose" }
62androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "androidxProfileinstaller" }
63androidx-rules = { module = "androidx.test:rules", version.ref = "androidxTestRules" }
64androidx-test-monitor = { module = "androidx.test:monitor", version.ref = "androidxTestMonitor" }
65androidx-tracing = { module = "androidx.tracing:tracing-ktx", version.ref = "androidxTracing" }
66androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidxTestUiautomator" }
67camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidxCamera" }
68camera-core = { module = "androidx.camera:camera-core", version.ref = "androidxCamera" }
69camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "androidxCamera" }
70camera-video = { module = "androidx.camera:camera-video", version.ref = "androidxCamera" }
71camera-viewfinder-compose = { module = "androidx.camera:camera-viewfinder-compose", version.ref = "androidxCameraViewfinder" }
72compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
73compose-junit = { module = "androidx.compose.ui:ui-test-junit4" }
74compose-material3 = { module = "androidx.compose.material3:material3" }
75compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" }
76compose-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
77compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
78compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
79dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
80dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
81futures-ktx = { module = "androidx.concurrent:concurrent-futures-ktx", version.ref = "androidxConcurrentFutures" }
82hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "androidxHiltNavigationCompose" }
83junit = { module = "junit:junit", version.ref = "junit" }
84kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "kotlinxAtomicfu" }
85kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
86kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
87
88mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" }
89protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobuf" }
90robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
91truth = { module = "com.google.truth:truth", version.ref = "truth" }
92
93[plugins]
94android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" }
95android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" }
96android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" }
97dagger-hilt-android =  { id = "com.google.dagger.hilt.android", version.ref = "hilt" }
98google-protobuf = { id = "com.google.protobuf", version.ref = "protobufPlugin" }
99kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinPlugin" }
100kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlinPlugin" }