- Kotlin DSL build with version catalog (AGP 8.7, Kotlin 2.1, Compose BOM 2025.01) - app module: Compose + Material 3, dark theme, network security config - DualNetworkTestScreen — Phase 28.1 gate screen (buttons wired in 28.1.2) - YarisApp, MainActivity, YarisOBDTheme - ProGuard rules for Retrofit/OkHttp/Kotlinx Serialization/Coil/MapLibre/Room - cleartext allowed for 10.42.0.1 + yaris.local - gradle wrapper properties (needs Android Studio to generate wrapper jar)
79 lines
3.5 KiB
TOML
79 lines
3.5 KiB
TOML
[versions]
|
|
agp = "8.7.3"
|
|
kotlin = "2.1.0"
|
|
compose-bom = "2025.01.00"
|
|
compose-compiler = "1.5.15" # Kotlin 2.1.x
|
|
okhttp = "4.12.0"
|
|
retrofit = "2.11.0"
|
|
kotlinx-serialization = "1.7.3"
|
|
kotlinx-coroutines = "1.9.0"
|
|
room = "2.6.1"
|
|
workmanager = "2.10.0"
|
|
coil = "3.0.4"
|
|
maplibre = "11.7.0"
|
|
security-crypto = "1.1.0-alpha06"
|
|
lifecycle = "2.8.7"
|
|
activity-compose = "1.9.3"
|
|
core-ktx = "1.15.0"
|
|
navigation-compose = "2.8.5"
|
|
|
|
[libraries]
|
|
# Compose BOM
|
|
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
|
|
compose-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
compose-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
|
|
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
compose-material3 = { group = "androidx.compose.material3", name = "material3" }
|
|
compose-material-icons = { group = "androidx.compose.material", name = "material-icons-extended" }
|
|
|
|
# Navigation
|
|
navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation-compose" }
|
|
|
|
# Activity + Compose
|
|
activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
|
|
|
|
# Core
|
|
core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
|
|
|
|
# Lifecycle
|
|
lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycle" }
|
|
lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
|
|
# Network
|
|
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
|
|
okhttp-logging = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }
|
|
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
|
|
retrofit-kotlinx-serialization = { group = "com.squareup.retrofit2", name = "converter-kotlinx-serialization", version.ref = "retrofit" }
|
|
|
|
# Serialization
|
|
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
|
|
|
|
# Coroutines
|
|
kotlinx-coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
|
|
|
|
# Local storage
|
|
room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
|
|
room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
|
|
room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
|
|
|
|
# Background work
|
|
workmanager = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "workmanager" }
|
|
|
|
# Images
|
|
coil-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
|
|
coil-okhttp = { group = "io.coil-kt.coil3", name = "coil-network-okhttp", version.ref = "coil" }
|
|
|
|
# Maps
|
|
maplibre = { group = "org.maplibre.gl", name = "android-sdk", version.ref = "maplibre" }
|
|
|
|
# Security
|
|
security-crypto = { group = "androidx.security", name = "security-crypto", version.ref = "security-crypto" }
|
|
|
|
[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" }
|
|
ksp = { id = "com.google.devtools.ksp", version = "2.1.0-1.0.29" }
|