64 lines
4.3 KiB
TOML
64 lines
4.3 KiB
TOML
[versions]
|
|
agp = "9.1.1"
|
|
kotlin = "2.4.0"
|
|
coreKtx = "1.19.0"
|
|
activity = "1.13.0"
|
|
composeBom = "2026.05.01"
|
|
material3 = "1.5.0-alpha21"
|
|
navigationCompose = "2.9.8"
|
|
datastorePreferences = "1.2.1"
|
|
lifecycleViewmodelCompose = "2.10.0"
|
|
coreSplashscreen = "1.2.0"
|
|
jsch = "2.28.3"
|
|
coroutinesAndroid = "1.11.0"
|
|
bouncycastle = "1.84"
|
|
koin = "4.2.1"
|
|
wireguardTunnel = "1.0.20260102"
|
|
desugarJdkLibs = "2.1.5"
|
|
camerax = "1.6.1"
|
|
mlkitBarcode = "17.3.0"
|
|
zxingCore = "3.5.4"
|
|
junit = "4.13.2"
|
|
orgJson = "20260522"
|
|
|
|
[libraries]
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity" }
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-compose-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
|
|
androidx-compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
androidx-compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
androidx-compose-material3 = { group = "androidx.compose.material3", name = "material3", version.ref = "material3" }
|
|
androidx-compose-material3-adaptive-nav-suite = { group = "androidx.compose.material3", name = "material3-adaptive-navigation-suite", version.ref = "material3" }
|
|
androidx-navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigationCompose" }
|
|
androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastorePreferences" }
|
|
androidx-lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycleViewmodelCompose" }
|
|
androidx-lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycleViewmodelCompose" }
|
|
androidx-core-splashscreen = { group = "androidx.core", name = "core-splashscreen", version.ref = "coreSplashscreen" }
|
|
jsch = { group = "com.github.mwiede", name = "jsch", version.ref = "jsch" }
|
|
# mwiede/jsch 2.x использует Bouncy Castle (не net.i2p.eddsa) для ed25519/ed448,
|
|
# curve25519-sha256 и chacha20-poly1305. На Android (нет Java 15 EdDSA) без него
|
|
# ed25519-ключи и современный KEX не работают.
|
|
bouncycastle = { group = "org.bouncycastle", name = "bcprov-jdk18on", version.ref = "bouncycastle" }
|
|
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutinesAndroid" }
|
|
koin-androidx-compose = { group = "io.insert-koin", name = "koin-androidx-compose", version.ref = "koin" }
|
|
wireguard-tunnel = { group = "com.wireguard.android", name = "tunnel", version.ref = "wireguardTunnel" }
|
|
desugar-jdk-libs = { group = "com.android.tools", name = "desugar_jdk_libs", version.ref = "desugarJdkLibs" }
|
|
androidx-camera-core = { group = "androidx.camera", name = "camera-core", version.ref = "camerax" }
|
|
androidx-camera-camera2 = { group = "androidx.camera", name = "camera-camera2", version.ref = "camerax" }
|
|
androidx-camera-lifecycle = { group = "androidx.camera", name = "camera-lifecycle", version.ref = "camerax" }
|
|
androidx-camera-view = { group = "androidx.camera", name = "camera-view", version.ref = "camerax" }
|
|
# bundled-модель: сканер работает без Google Play Services (+~2.4MB к APK).
|
|
mlkit-barcode-scanning = { group = "com.google.mlkit", name = "barcode-scanning", version.ref = "mlkitBarcode" }
|
|
zxing-core = { group = "com.google.zxing", name = "core", version.ref = "zxingCore" }
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
# org.json в android.jar замокан — реальная реализация для JVM-юнит-тестов.
|
|
org-json = { group = "org.json", name = "json", version.ref = "orgJson" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|