65 lines
3.9 KiB
TOML
65 lines
3.9 KiB
TOML
[versions]
|
|
agp = "9.3.2"
|
|
desugarJdkLibs = "2.1.5"
|
|
gradleLicensePlugin = "0.9.9"
|
|
kotlin = "2.4.10"
|
|
coreKtx = "1.19.0"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.3.0"
|
|
espressoCore = "3.7.0"
|
|
activity = "1.13.0"
|
|
appcompat = "1.7.1"
|
|
mmkvStatic = "1.3.16"
|
|
gson = "2.14.0"
|
|
okhttp = "5.4.0"
|
|
kotlinxCoroutines = "1.11.0"
|
|
core = "3.5.4"
|
|
workRuntimeKtx = "2.11.2"
|
|
lifecycleViewmodelKtx = "2.11.0"
|
|
mockitoMockitoInline = "5.2.0"
|
|
camerax = "1.6.1"
|
|
composeBom = "2026.06.01"
|
|
reorderable = "3.1.0"
|
|
coil = "2.7.0"
|
|
[libraries]
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
desugar-jdk-libs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugarJdkLibs" }
|
|
gradle-license-plugin = { module = "com.jaredsburrows:gradle-license-plugin", version.ref = "gradleLicensePlugin" }
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
|
|
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
|
mmkv-static = { module = "com.tencent:mmkv-static", version.ref = "mmkvStatic" }
|
|
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
|
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
|
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "kotlinxCoroutines" }
|
|
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinxCoroutines" }
|
|
core = { module = "com.google.zxing:core", version.ref = "core" }
|
|
work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "workRuntimeKtx" }
|
|
work-multiprocess = { module = "androidx.work:work-multiprocess", version.ref = "workRuntimeKtx" }
|
|
lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycleViewmodelKtx" }
|
|
lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycleViewmodelKtx" }
|
|
org-mockito-mockito-inline = { module = "org.mockito:mockito-inline", version.ref = "mockitoMockitoInline" }
|
|
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockitoMockitoInline" }
|
|
reorderable = { module = "sh.calvin.reorderable:reorderable", version.ref = "reorderable" }
|
|
|
|
# CameraX
|
|
camerax-core = { module = "androidx.camera:camera-core", version.ref = "camerax" }
|
|
camerax-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
|
|
camerax-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
|
|
camerax-compose = { module = "androidx.camera:camera-compose", version.ref = "camerax" }
|
|
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity" }
|
|
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-compose-foundation = { group = "androidx.compose.foundation", name = "foundation" }
|
|
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3" }
|
|
androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycleViewmodelKtx" }
|
|
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil" }
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } |