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