spike(desktop): Phase 0 feasibility probes + findings
Adds the throwaway Phase-0 spike (Development Plan §6.3) that answers
whether Incido can become a Compose Multiplatform desktop app without
abandoning ObjectBox, its crypto layer, or its UI layer. All six
questions came back PASS; findings live in tools/DESKTOP_FEASIBILITY.md.
:spike:data-jvm ObjectBox kapt codegen + native runtime on a plain
JVM, DataStore Preferences without a Context, and
the app's own EncryptedKeyCodec round-tripping.
:spike:compose-jvm Compose Desktop rendering the app's real theme
layer + core:domain, plus jpackage packaging.
Additive only: nothing outside spike/ depends on these, and the Android
build is untouched (assembleDebug verified green).
This commit is contained in:
1 parent
f87ca17ded
commit
8b66e82acb
20 files changed
+1822
No files matched your search
@@ -55,6 +55,11 @@ androidx-fragment-ktx = { module = "androidx.fragment:fragment-ktx", version = "
|
||||
|
||||
# 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)
|
||||
@@ -68,6 +73,14 @@ kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutine
|
||||
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" }
|
||||
@@ -79,3 +92,9 @@ composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "k
|
||||
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" }
|
||||
Reference in new issue
Block a user