1[versions] 2# Used directly in build.gradle.kts files 3compileSdk = "35" 4orchestrator = "1.4.2" 5minSdk = "21" 6targetSdk = "35" 7composeCompiler = "1.5.14" 8 9# Used below in dependency definitions 10# Compose and Accompanist versions are linked 11# See https://github.com/google/accompanist?tab=readme-ov-file#compose-versions 12composeBom = "2024.11.00" 13accompanist = "0.36.0" 14# kotlinPlugin and composeCompiler are linked 15# See https://developer.android.com/jetpack/androidx/releases/compose-kotlin 16kotlinPlugin = "1.9.24" 17androidGradlePlugin = "8.7.3" 18protobufPlugin = "0.9.4" 19 20androidxActivityCompose = "1.9.3" 21androidxAppCompat = "1.7.0" 22androidxBenchmark = "1.3.3" 23androidxCamera = "1.5.0-SNAPSHOT" 24androidxConcurrentFutures = "1.2.0" 25androidxCoreKtx = "1.15.0" 26androidxDatastore = "1.1.1" 27androidxGraphicsCore = "1.0.2" 28androidxHiltNavigationCompose = "1.2.0" 29androidxLifecycle = "2.8.7" 30androidxNavigationCompose = "2.8.4" 31androidxProfileinstaller = "1.4.1" 32androidxTestEspresso = "3.6.1" 33androidxTestJunit = "1.2.1" 34androidxTestMonitor = "1.7.2" 35androidxTestRules = "1.6.1" 36androidxTestUiautomator = "2.3.0" 37androidxTracing = "1.2.0" 38cmake = "3.22.1" 39kotlinxAtomicfu = "0.23.2" 40kotlinxCoroutines = "1.9.0" 41hilt = "2.52" 42junit = "4.13.2" 43mockitoCore = "5.6.0" 44protobuf = "3.25.2" 45robolectric = "4.14" 46truth = "1.4.2" 47 48[libraries] 49accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" } 50androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivityCompose" } 51androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidxAppCompat" } 52androidx-benchmark-macro-junit4 = { module = "androidx.benchmark:benchmark-macro-junit4", version.ref = "androidxBenchmark" } 53androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidxCoreKtx" } 54androidx-datastore = { module = "androidx.datastore:datastore", version.ref = "androidxDatastore" } 55androidx-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidxTestEspresso" } 56androidx-graphics-core = { module = "androidx.graphics:graphics-core", version.ref = "androidxGraphicsCore" } 57androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidxTestJunit" } 58androidx-lifecycle-livedata = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidxLifecycle" } 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-orchestrator = { module = "androidx.test:orchestrator", version.ref = "orchestrator" } 63androidx-profileinstaller = { module = "androidx.profileinstaller:profileinstaller", version.ref = "androidxProfileinstaller" } 64androidx-rules = { module = "androidx.test:rules", version.ref = "androidxTestRules" } 65androidx-test-monitor = { module = "androidx.test:monitor", version.ref = "androidxTestMonitor" } 66androidx-tracing = { module = "androidx.tracing:tracing-ktx", version.ref = "androidxTracing" } 67androidx-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidxTestUiautomator" } 68camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "androidxCamera" } 69camera-core = { module = "androidx.camera:camera-core", version.ref = "androidxCamera" } 70camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "androidxCamera" } 71camera-video = { module = "androidx.camera:camera-video", version.ref = "androidxCamera" } 72camera-compose = { module = "androidx.camera:camera-compose", version.ref = "androidxCamera" } 73compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" } 74compose-junit = { module = "androidx.compose.ui:ui-test-junit4" } 75compose-material3 = { module = "androidx.compose.material3:material3" } 76compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended" } 77compose-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" } 78compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } 79compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } 80dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" } 81dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" } 82futures-ktx = { module = "androidx.concurrent:concurrent-futures-ktx", version.ref = "androidxConcurrentFutures" } 83hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "androidxHiltNavigationCompose" } 84junit = { module = "junit:junit", version.ref = "junit" } 85kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlinPlugin" } 86kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "kotlinxAtomicfu" } 87kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" } 88kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" } 89 90mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockitoCore" } 91protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobuf" } 92robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" } 93truth = { module = "com.google.truth:truth", version.ref = "truth" } 94 95[plugins] 96android-application = { id = "com.android.application", version.ref = "androidGradlePlugin" } 97android-library = { id = "com.android.library", version.ref = "androidGradlePlugin" } 98android-test = { id = "com.android.test", version.ref = "androidGradlePlugin" } 99dagger-hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } 100google-protobuf = { id = "com.google.protobuf", version.ref = "protobufPlugin" } 101kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlinPlugin" } 102kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlinPlugin" }