docs(phase-1/m4.2): M4.2 status; plan handed to M4.3 (container seam)
This commit is contained in:
1 parent
9ad7c60537
commit
b774a1feb6
2 files changed
+29
-6
No files matched your search
@@ -18,9 +18,8 @@
|
|||||||
// * jvmMain — the JVM actuals. Nothing else yet: :desktopApp keeps
|
// * jvmMain — the JVM actuals. Nothing else yet: :desktopApp keeps
|
||||||
// its own stand-in UI until M4.5 consumes this target.
|
// its own stand-in UI until M4.5 consumes this target.
|
||||||
//
|
//
|
||||||
// Note: :core:domain is still a plain kotlin("jvm") module, so
|
// Note: :core:domain converted to multiplatform in M4.2, so commonMain
|
||||||
// commonMain cannot reference it yet — that is why NoteColors.kt stays
|
// sees it — NoteColors.kt moved up with that commit.
|
||||||
// in androidMain until :core:domain is converted in M4.2.
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.androidLibrary)
|
alias(libs.plugins.androidLibrary)
|
||||||
|
|||||||
@@ -643,9 +643,33 @@ PASS` in separate processes). One leg-A teardown wedge reproduced
|
|||||||
`exitApplication` never arrived; killed, leg B verified the encrypted
|
`exitApplication` never arrived; killed, leg B verified the encrypted
|
||||||
library intact and passed anyway.
|
library intact and passed anyway.
|
||||||
|
|
||||||
**Next up: M4.2** — convert `:core:domain` to multiplatform (Phase-0
|
**M4.2 — `:core:domain` → multiplatform: DONE.** Phase-0
|
||||||
recommendation #1, "convert first"), then `NoteColors.kt` joins
|
recommendation #1 ("convert it first; zero code changes") — the plain
|
||||||
`commonMain`; continue expect/actual seams (§6.3 order).
|
`kotlin("jvm")` deploy was the gate blocking `commonMain` access.
|
||||||
|
`androidTarget()` + `jvm()`, sources moved untouched (pure renames),
|
||||||
|
coroutines `implementation → api` (Flow is in the public interfaces),
|
||||||
|
AGP plugin + namespace added, no manifest needed. Consumers unchanged
|
||||||
|
by design — plain-JVM (`:core:data-jvm`, `:desktopApp`) and AGP
|
||||||
|
(`:core:data`, `:app`) both resolve through variant metadata.
|
||||||
|
`NoteColors.kt` then became the first shared UI-layer file with a
|
||||||
|
domain dependency (`api(project(":core:domain"))` in composeApp
|
||||||
|
commonMain).
|
||||||
|
|
||||||
|
```
|
||||||
|
./gradlew assembleDebug :composeApp:compileKotlinJvm :core:data-jvm:smoke
|
||||||
|
BUILD SUCCESSFUL — RESULT: M1a PASS (one run, all consumers)
|
||||||
|
./gradlew :desktopApp:run … --self-test SELFTEST wrote note id=1
|
||||||
|
```
|
||||||
|
|
||||||
|
**Next up: M4.3** — the container seam: an `AppGraph` interface in
|
||||||
|
`commonMain` (noteRepository, settings, cipher services, security
|
||||||
|
state) so the four ViewModels leave `IncidoApplication`/
|
||||||
|
`AndroidViewModelFactory` behind (multiplatform lifecycle artifacts —
|
||||||
|
verify the set against Compose 1.7.3 first, §6.4), and
|
||||||
|
`DesktopContainer` can implement the same face. Clipboard
|
||||||
|
(`LocalClipboard` + `ClipEntry`) and image-decode
|
||||||
|
(`skia.Image.makeFromEncoded`) migrations ride along with the screens
|
||||||
|
that need them (§6.3).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user