mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-30 06:47:33 +00:00
Android Studio's batch inspections reported about 800 problems besides spelling, which the project profile now leaves off (it mostly flagged the translations). Real bugs among them: the desktop's strings files had empty strings where Android has translations (German, Spanish, Brazilian Portuguese, Chinese), showing blank text; and IS_FDROID_BUILD, which the F-Droid workflow flips with sed, was read as a constant the IDE wanted to simplify away, so it is now read through BuildFlavorChecker.isFdroidBuild(). Account loads in coroutines (relay, intent and UI paths) and logout no longer block a thread with runBlocking; the blocking ContentProvider path and the desktop lock say why they do. Also remove what was dead (the drawable IconRow overload, PermissionCard, ConfirmationToastMsg, the desktop OkHttpWebSocket.Builder and DeleteAfterType.screenCode, the QR drawer's zero corner radius math and the strings only they used), move to the Duration overloads, give subject-less when blocks their subject, drop redundant opt-ins, suspend modifiers, qualifiers and SAM constructors, fix broken KDoc links, take the ktlint and KSP plugin versions from the catalog, strip editor metadata from the SVGs, align the Markdown tables and fix real grammar and spelling in comments, docs and three English strings.
119 lines
7.6 KiB
TOML
119 lines
7.6 KiB
TOML
[versions]
|
|
# Amber's release version, shared by the Android app (versionCode/versionName)
|
|
# and the desktop app. Bump both here, and only here.
|
|
amberVersionCode = "211"
|
|
amberVersionName = "6.6.9"
|
|
activityCompose = "1.13.0"
|
|
appcompat = "1.8.0"
|
|
biometricKtx = "1.4.0-alpha02"
|
|
core = "3.5.4"
|
|
coreKtx = "1.19.1"
|
|
datastorePreferences = "1.2.1"
|
|
espressoCore = "3.7.0"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.3.0"
|
|
lifecycle_version = "2.11.0"
|
|
material3 = "1.4.0"
|
|
nav_version = "2.10.2"
|
|
quartz = "2.3.0"
|
|
jacksonModuleKotlin = "2.22.4"
|
|
compose_ui = "1.12.1"
|
|
roomKtx = "2.8.5"
|
|
securityCryptoKtx = "1.1.0"
|
|
zxingAndroidEmbedded = "4.3.0"
|
|
okhttp = "5.5.1"
|
|
kotlin = "2.4.20"
|
|
workRuntimeKtx = "2.12.0"
|
|
agp = "9.4.1"
|
|
ktlint = "14.2.0"
|
|
detekt = "2.0.0-alpha.6"
|
|
ksp = "2.3.12"
|
|
coil = "3.6.3"
|
|
storage = "3.1.0"
|
|
jna = "5.19.1"
|
|
dbus-java = "4.2.1"
|
|
materialIconsExtended = "1.7.8"
|
|
collections = "0.5.2"
|
|
pagingCommon = "3.5.2"
|
|
mockk = "1.14.11"
|
|
coroutinesTest = "1.11.0"
|
|
secp256k1Jni = "0.24.0"
|
|
leakcanary = "1.0.0"
|
|
composeMultiplatform = "1.12.1"
|
|
composeMultiplatformMaterial3 = "1.9.0"
|
|
composeMultiplatformMaterialIconsExtended = "1.7.3"
|
|
|
|
[libraries]
|
|
datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastorePreferences" }
|
|
jna = { module = "net.java.dev.jna:jna", version.ref = "jna" }
|
|
jna-platform = { module = "net.java.dev.jna:jna-platform", version.ref = "jna" }
|
|
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
|
|
appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
|
biometric-ktx = { module = "androidx.biometric:biometric-ktx", version.ref = "biometricKtx" }
|
|
core = { module = "com.google.zxing:core", version.ref = "core" }
|
|
core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
|
|
espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" }
|
|
ext-junit = { module = "androidx.test.ext:junit", version.ref = "junitVersion" }
|
|
junit = { module = "junit:junit", version.ref = "junit" }
|
|
lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle_version" }
|
|
lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle_version" }
|
|
lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle_version" }
|
|
lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "lifecycle_version" }
|
|
material-icons-extended = { module = "androidx.compose.material:material-icons-extended", version.ref = "materialIconsExtended" }
|
|
material3 = { module = "androidx.compose.material3:material3", version.ref = "material3" }
|
|
compose-multiplatform-material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "composeMultiplatformMaterial3" }
|
|
compose-multiplatform-material-icons-extended = { module = "org.jetbrains.compose.material:material-icons-extended", version.ref = "composeMultiplatformMaterialIconsExtended" }
|
|
navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "nav_version" }
|
|
quartz = { module = "com.vitorpamplona.quartz:quartz-android", version.ref = "quartz" }
|
|
jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin", version.ref = "jacksonModuleKotlin" }
|
|
quartz-jvm = { module = "com.vitorpamplona.quartz:quartz-jvm", version.ref = "quartz" }
|
|
kotlin-compiler-embeddable = { module = "org.jetbrains.kotlin:kotlin-compiler-embeddable", version.ref = "kotlin" }
|
|
compose-runtime-annotation = { module = "androidx.compose.runtime:runtime-annotation", version.ref = "compose_ui" }
|
|
kotlinx-collections-immutable = { module = "org.jetbrains.kotlinx:kotlinx-collections-immutable", version.ref = "collections" }
|
|
room-compiler = { module = "androidx.room:room-compiler", version.ref = "roomKtx" }
|
|
room-ktx = { module = "androidx.room:room-ktx", version.ref = "roomKtx" }
|
|
room-runtime = { module = "androidx.room:room-runtime", version.ref = "roomKtx" }
|
|
room-paging = { module = "androidx.room:room-paging", version.ref = "roomKtx" }
|
|
room-testing = { module = "androidx.room:room-testing", version.ref = "roomKtx" }
|
|
security-crypto = { module = "androidx.security:security-crypto", version.ref = "securityCryptoKtx" }
|
|
security-crypto-ktx = { module = "androidx.security:security-crypto-ktx", version.ref = "securityCryptoKtx" }
|
|
ui = { module = "androidx.compose.ui:ui", version.ref = "compose_ui" }
|
|
ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose_ui" }
|
|
ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose_ui" }
|
|
ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose_ui" }
|
|
ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose_ui" }
|
|
zxing-android-embedded = { module = "com.journeyapps:zxing-android-embedded", version.ref = "zxingAndroidEmbedded" }
|
|
okhttp = { group = "com.squareup.okhttp3", name = "okhttp", version.ref = "okhttp" }
|
|
okhttpCoroutines = { group = "com.squareup.okhttp3", name = "okhttp-coroutines", version.ref = "okhttp" }
|
|
work-runtime-ktx = { group = "androidx.work", name = "work-runtime-ktx", version.ref = "workRuntimeKtx" }
|
|
coil-compose = { group = "io.coil-kt.coil3", name = "coil-compose", version.ref = "coil" }
|
|
coil-gif = { group = "io.coil-kt.coil3", name = "coil-gif", version.ref = "coil" }
|
|
coil-svg = { group = "io.coil-kt.coil3", name = "coil-svg", version.ref = "coil" }
|
|
coil-okhttp = { group = "io.coil-kt.coil3", name = "coil-network-okhttp", version.ref = "coil" }
|
|
storage = { module = "com.anggrayudi:storage", version.ref = "storage" }
|
|
material3-window = { group = "androidx.compose.material3", name = "material3-window-size-class", version.ref = "material3" }
|
|
paging-common = { group = "androidx.paging", name = "paging-common", version.ref = "pagingCommon" }
|
|
paging-compose = { group = "androidx.paging", name = "paging-compose", version.ref = "pagingCommon" }
|
|
paging-runtime = { group = "androidx.paging", name = "paging-runtime", version.ref = "pagingCommon" }
|
|
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutinesTest" }
|
|
secp256k1-jni-jvm = { module = "fr.acinq.secp256k1:secp256k1-kmp-jni-jvm", version.ref = "secp256k1Jni" }
|
|
leakcanary = { group = "com.android.tools.studio.leakcanary", name = "leakcanary", version.ref = "leakcanary" }
|
|
java-keyring = { module = "com.github.javakeyring:java-keyring", version = "1.0.4" }
|
|
dorkbox-systemtray = { module = "com.dorkbox:SystemTray", version = "4.4" }
|
|
dbus-java-core = { module = "com.github.hypfvieh:dbus-java-core", version.ref = "dbus-java" }
|
|
dbus-java-transport-native-unixsocket = { module = "com.github.hypfvieh:dbus-java-transport-native-unixsocket", version.ref = "dbus-java" }
|
|
slf4j-nop = { module = "org.slf4j:slf4j-nop", version = "2.0.20" }
|
|
bouncycastle = { module = "org.bouncycastle:bcprov-jdk18on", version = "1.86" }
|
|
|
|
[plugins]
|
|
androidLibrary = { id = "com.android.library", version.ref = "agp" }
|
|
androidApplication = { id = "com.android.application", version.ref = "agp" }
|
|
gradle_ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" }
|
|
detekt = { id = "dev.detekt", version.ref = "detekt" }
|
|
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
|
kotlin_ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
|
jetbrainsComposeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
|
|
jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }
|