Files
Incido/gradle/libs.versions.toml
T
Incido Developer bdb3d7157d feat(phase-1/m4.4a): first screens to commonMain + shared clipboard
Pure moves: IncidoDrawer, ReleaseNotesDialog, PassphraseDialog
(clipboard: Context.getSystemService -> LocalClipboardManager, the
SAME API both targets ship in Compose 1.7.3 - the section 6.3
LocalClipboard+ClipEntry swap is a Compose 1.8-only API, recorded
for M5+). PassphraseGenerator moves behind an internal expect/
actual secureRandomInt (blockingFirst precedent; identical
SecureRandom actuals - both targets ARE the JVM).

New seams justified: secureRandomInt (java.security is not common);
commonMain gains jetbrains lifecycle viewmodel-compose +
runtime-compose (the SAME coordinates androidMain resolved since
M4.1) and material-icons-extended (moved with the screens).

Verified: ./gradlew assembleDebug :desktopApp:build SUCCESSFUL
+ :composeApp:compileKotlinJvm + :desktopApp:run --self-test
(SELFTEST id=1 -> RENDER notes=1 selected=1) + :core:data-jvm:smoke
(M1a PASS); objectbox-models clean.
2026-10-06 18:26:07 +13:00

106 lines
5.9 KiB
TOML

[versions]
# Tooling
agp = "8.7.2"
kotlin = "2.0.21"
ksp = "2.0.21-1.0.28"
# Build
gradleWrapper = "8.10.2"
# Compose Multiplatform
composeMultiplatform = "1.7.3"
# AndroidX
androidxActivityCompose = "1.9.3"
androidxLifecycle = "2.8.7"
androidxNavigationCompose = "2.8.4"
composeBom = "2024.10.01"
androidxDatastore = "1.1.1"
androidxBiometric = "1.2.0-alpha05"
# Kotlin / Coroutines
coroutines = "1.9.0"
kotlinxSerialization = "1.7.3"
# Data
objectbox = "4.0.3"
# Exif
exifinterface = "1.3.7"
[libraries]
# Compose Multiplatform
compose-multiplatform = { module = "org.jetbrains.compose:compose-bom", version.ref = "composeMultiplatform" }
compose-ui = { module = "org.jetbrains.compose.ui:ui", version.ref = "composeMultiplatform" }
compose-ui-tooling = { module = "org.jetbrains.compose.ui:ui-tooling", version.ref = "composeMultiplatform" }
compose-ui-tooling-preview = { module = "org.jetbrains.compose.ui:ui-tooling-preview", version.ref = "composeMultiplatform" }
compose-foundation = { module = "org.jetbrains.compose.foundation:foundation", version.ref = "composeMultiplatform" }
compose-material3 = { module = "org.jetbrains.compose.material3:material3", version.ref = "composeMultiplatform" }
compose-material-icons-extended = { module = "org.jetbrains.compose.material:material-icons-extended", version.ref = "composeMultiplatform" }
# AndroidX Compose BOM
composeBom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
# AndroidX
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivityCompose" }
androidx-lifecycle-viewmodel = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel", version = "2.8.4" }
androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version = "2.8.4" }
androidx-lifecycle-runtime-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime-compose", version = "2.8.4" }
androidx-lifecycle-runtime = { module = "org.jetbrains.androidx.lifecycle:lifecycle-runtime", version = "2.8.4" }
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.8.4" }
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidxNavigationCompose" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.13.1" }
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "exifinterface" }
# v0.3.2.0: FragmentActivity (for BiometricPrompt host)
androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version = "1.8.5" }
# v0.3.2.0: Settings / Security / Backup support
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "androidxDatastore" }
# Desktop feasibility spike: the multiplatform core of DataStore Preferences,
# which is what a JVM/desktop SettingsRepository must use (the
# `preferencesDataStore(name = …)` Context extension the Android app uses is
# Android-only; on desktop the store is created from a file path).
androidx-datastore-preferences-core = { module = "androidx.datastore:datastore-preferences-core", version.ref = "androidxDatastore" }
androidx-biometric = { module = "androidx.biometric:biometric", version.ref = "androidxBiometric" }
# Kotlin Serialization (v0.3.2.0 backup JSON codec)
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerialization" }
# Coroutines
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
# Phase 1 (M1b): Compose Desktop drives its event loop through Swing/AWT, which
# needs the Swing dispatcher for Dispatchers.Main (the desktop analogue of
# kotlinx-coroutines-android).
kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "coroutines" }
# Data
objectbox-android = { module = "io.objectbox:objectbox-android", version.ref = "objectbox" }
objectbox-kotlin = { module = "io.objectbox:objectbox-kotlin", version.ref = "objectbox" }
# Desktop feasibility spike (Development Plan §6.3) — ObjectBox on the JVM.
# objectbox-java is the JVM runtime; objectbox-linux is the native library
# jar. The ObjectBox Gradle plugin only adds the native lib for the build
# OS, so every shipped platform needs its own artifact
# (objectbox-linux / objectbox-macos / objectbox-windows).
objectbox-java = { module = "io.objectbox:objectbox-java", version.ref = "objectbox" }
objectbox-linux = { module = "io.objectbox:objectbox-linux", version.ref = "objectbox" }
[plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" }
androidLibrary = { id = "com.android.library", version.ref = "agp" }
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlinJvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinCompose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
objectbox = { id = "io.objectbox", version.ref = "objectbox" }
# Desktop feasibility spike (Development Plan §6.3): kapt drives the ObjectBox
# generator on a plain JVM module, and org.jetbrains.compose is the Compose
# Multiplatform Gradle plugin that provides the `compose.*` dependency
# accessors + the `compose.desktop { application { } }` packaging DSL.
kotlinKapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
compose = { id = "org.jetbrains.compose", version.ref = "composeMultiplatform" }