mirror of
https://github.com/usetrmnl/trmnl-android.git
synced 2026-04-29 13:35:26 -07:00
- Bump library versions: activityCompose 1.13.0, circuit 0.33.1, composeBom 2026.03.01, androidXCoreKtx 1.18.0, workManager 2.11.2, coil 3.4.0, mockk 1.14.9, robolectric 4.16.1, datastore 1.2.1, AGP 8.13.2 - Comment out deprecated TrmnlUserApiService provider in NetworkModule - Trim access token in AppSettingsScreen event handler
189 lines
8.7 KiB
TOML
189 lines
8.7 KiB
TOML
[versions]
|
|
activityCompose = "1.13.0"
|
|
# https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive
|
|
adaptive = "1.2.0"
|
|
agp = "8.13.2"
|
|
|
|
# Circuit - ⚡️ A Compose-driven architecture for Kotlin and Android applications.
|
|
# https://github.com/slackhq/circuit
|
|
circuit = "0.33.1"
|
|
|
|
# Compose Bill of Materials (BOM) lets you manage all of your
|
|
# Compose library versions by specifying only the BOM's version.
|
|
# https://developer.android.com/develop/ui/compose/bom
|
|
composeBom = "2026.03.01"
|
|
|
|
# AndroidX Core KTX - Kotlin extensions for Android core libraries.
|
|
# https://developer.android.com/jetpack/androidx/releases/core
|
|
androidXCoreKtx = "1.18.0"
|
|
|
|
espressoCore = "3.7.0"
|
|
googleFonts = "1.10.6"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.3.0"
|
|
kotlinxCoroutinesTest = "1.10.2"
|
|
|
|
# Kotlin and KSP versions (must be in sync)
|
|
# KSP 2.3.0+ uses independent versioning (no longer tied to Kotlin version)
|
|
kotlin = "2.3.20"
|
|
ksp = "2.3.6"
|
|
|
|
# Metro - compile-time DI framework powered by a Kotlin compiler plugin
|
|
# https://github.com/ZacSweers/metro
|
|
metro = "0.12.1"
|
|
|
|
lifecycleRuntimeKtx = "2.10.0"
|
|
|
|
# Kotlin linter with built-in formatter
|
|
# https://github.com/jeremymailen/kotlinter-gradle
|
|
# https://github.com/pinterest/ktlint
|
|
kotlinter = "5.4.2"
|
|
|
|
# Http client for Android
|
|
# https://square.github.io/okhttp/
|
|
okhttp = "4.12.0"
|
|
retrofit = "2.11.0"
|
|
|
|
# https://github.com/JakeWharton/timber
|
|
timber = "5.0.1"
|
|
|
|
# A modern JSON library for Kotlin and Java.
|
|
# https://github.com/square/moshi
|
|
moshi = "1.15.2"
|
|
|
|
# API result type for modeling network API responses.
|
|
# https://github.com/slackhq/EitherNet
|
|
eithernet = "2.0.0"
|
|
|
|
# https://developer.android.com/jetpack/androidx/releases/work
|
|
workManager = "2.11.2"
|
|
|
|
# Coil
|
|
# https://github.com/coil-kt/coil
|
|
coil = "3.4.0"
|
|
|
|
mockk = "1.14.9"
|
|
truth = "1.4.5"
|
|
robolectric = "4.16.1"
|
|
turbine = "1.2.1"
|
|
|
|
datastore = "1.2.1"
|
|
|
|
# https://developer.android.com/jetpack/androidx/releases/window
|
|
# https://developer.android.com/develop/ui/compose/layouts/adaptive
|
|
androidx-window = "1.5.1"
|
|
|
|
# https://developer.android.com/jetpack/androidx/releases/test
|
|
androidTestCoreKtxVersion = "1.7.0"
|
|
|
|
[libraries]
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" }
|
|
androidx-adaptive = { module = "androidx.compose.material3.adaptive:adaptive", version.ref = "adaptive" }
|
|
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" }
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidXCoreKtx" }
|
|
androidx-espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
|
androidx-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
|
|
androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycleRuntimeKtx" }
|
|
androidx-material3 = { group = "androidx.compose.material3", name = "material3" }
|
|
androidx-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
androidx-ui-graphics = { group = "androidx.compose.ui", name = "ui-graphics" }
|
|
androidx-ui-test-junit4 = { group = "androidx.compose.ui", name = "ui-test-junit4" }
|
|
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" }
|
|
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
androidx-window = { module = "androidx.window:window", version.ref = "androidx-window" }
|
|
androidx-window-core = { module = "androidx.window:window-core", version.ref = "androidx-window" }
|
|
androidx-compose-materialWindow = { module = "androidx.compose.material3:material3-window-size-class" }
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
|
|
# Circuit - ⚡️A Compose-driven architecture for Kotlin and Android applications.
|
|
# https://github.com/slackhq/circuit/releases
|
|
circuit-codegen = { group = "com.slack.circuit", name = "circuit-codegen", version.ref = "circuit" }
|
|
circuit-codegen-annotations = { group = "com.slack.circuit", name = "circuit-codegen-annotations", version.ref = "circuit" }
|
|
circuit-foundation = { group = "com.slack.circuit", name = "circuit-foundation", version.ref = "circuit" }
|
|
circuit-overlay = { group = "com.slack.circuit", name = "circuit-overlay", version.ref = "circuit" }
|
|
circuitx-android = { group = "com.slack.circuit", name = "circuitx-android", version.ref = "circuit" }
|
|
circuitx-effects = { group = "com.slack.circuit", name = "circuitx-effects", version.ref = "circuit" }
|
|
circuitx-gestureNav = { group = "com.slack.circuit", name = "circuitx-gesture-navigation", version.ref = "circuit" }
|
|
circuitx-overlays = { group = "com.slack.circuit", name = "circuitx-overlays", version.ref = "circuit" }
|
|
|
|
# Metro - compile-time DI framework
|
|
# https://github.com/ZacSweers/metro
|
|
metrox-android = { group = "dev.zacsweers.metro", name = "metrox-android", version.ref = "metro" }
|
|
|
|
# # https://developer.android.com/develop/ui/compose/text/fonts
|
|
# https://mvnrepository.com/artifact/androidx.compose.ui/ui-text-google-fonts
|
|
androidx-ui-text-google-fonts = { group = "androidx.compose.ui", name = "ui-text-google-fonts", version.ref = "googleFonts" }
|
|
|
|
androidx-work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "workManager" }
|
|
|
|
# https://github.com/JakeWharton/timber
|
|
timber = { group = "com.jakewharton.timber", name = "timber", version.ref = "timber"}
|
|
|
|
retrofit = { group = "com.squareup.retrofit2", name = "retrofit", version.ref = "retrofit" }
|
|
retrofit-converter-gson = { group = "com.squareup.retrofit2", name = "converter-gson", version.ref = "retrofit" }
|
|
retrofit-converter-moshi = { group = "com.squareup.retrofit2", name = "converter-moshi", version.ref = "retrofit" }
|
|
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutinesTest" }
|
|
|
|
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
|
|
okhttp-logging-interceptor = { group = "com.squareup.okhttp3", name = "logging-interceptor", version.ref = "okhttp" }
|
|
|
|
# A modern JSON library for Kotlin and Java.
|
|
# https://github.com/square/moshi
|
|
moshi-kotlin = { group = "com.squareup.moshi", name = "moshi-kotlin", version.ref = "moshi" }
|
|
moshi-kotlin-codegen = { group = "com.squareup.moshi", name = "moshi-kotlin-codegen", version.ref = "moshi" }
|
|
|
|
# API result type for modeling network API responses.
|
|
# https://github.com/slackhq/EitherNet
|
|
eithernet = { group = "com.slack.eithernet", name = "eithernet", version.ref = "eithernet" }
|
|
eithernet-integration-retrofit = { group = "com.slack.eithernet", name = "eithernet-integration-retrofit", version.ref = "eithernet" }
|
|
|
|
# Coil
|
|
# https://github.com/coil-kt/coil
|
|
coil-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
|
|
coil-network-okhttp = { group = "io.coil-kt.coil3", name = "coil-network-okhttp", version.ref = "coil" }
|
|
|
|
androidx-datastore-preferences = { group = "androidx.datastore", name = "datastore-preferences", version.ref = "datastore" }
|
|
|
|
# mocking library for Kotlin
|
|
# https://github.com/mockk/mockk
|
|
test-mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
|
|
|
|
# Truth - Fluent assertions for Java and Android
|
|
# https://truth.dev/
|
|
test-truth = { module = "com.google.truth:truth", version.ref = "truth" }
|
|
|
|
# Test core library with Kotlin extensions for Android
|
|
# https://developer.android.com/jetpack/androidx/releases/test
|
|
core-ktx = { group = "androidx.test", name = "core-ktx", version.ref = "androidTestCoreKtxVersion" }
|
|
|
|
# https://robolectric.org/getting-started/#building-with-gradle-kotlin
|
|
test-robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
|
|
|
|
# Turbine - A small testing library for kotlinx.coroutines Flow
|
|
# https://github.com/cashapp/turbine
|
|
test-turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
|
|
|
|
[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" }
|
|
# Add @Parcelize support
|
|
# https://plugins.gradle.org/plugin/org.jetbrains.kotlin.plugin.parcelize
|
|
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
|
|
|
|
# Kotlin Symbol Processing API
|
|
# https://kotlinlang.org/docs/ksp-overview.html
|
|
# https://github.com/google/ksp/releases
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp"}
|
|
|
|
# Metro - compile-time DI compiler plugin
|
|
# https://github.com/ZacSweers/metro
|
|
metro = { id = "dev.zacsweers.metro", version.ref = "metro" }
|
|
|
|
# Kotlin linter with built-in formatter
|
|
# https://github.com/jeremymailen/kotlinter-gradle
|
|
# https://github.com/pinterest/ktlint
|
|
kotlinter = { id = "org.jmailen.kotlinter", version.ref = "kotlinter" }
|