Adopt compile-time Lombok for shared and host boilerplate

This commit is contained in:
2026-11-14 07:34:13 +01:00
parent 83b9e4013d
commit 61a72b5cfb
18 changed files with 116 additions and 50 deletions
+17
View File
@@ -32,6 +32,21 @@ On macOS `IDEA_HOME` points to the IDE application's `Contents` directory. The c
Maven is pinned to **3.9.11** (Wrapper **3.3.4**); the separate IntelliJ build uses **Gradle 9.1.0** and IntelliJ Platform Gradle Plugin **2.20.1**. Wrapper distributions have pinned checksums. Shared-module-only validation is `./mvnw -B -ntp clean verify`; it does not qualify IntelliJ packaging. Plugin output is under `designer-intellij/build/distributions/`.
## Java source conventions
Use focused Lombok annotations for mechanical constructors/accessors/logging,
as described in [AGENTS.md](AGENTS.md). Lombok **1.18.42** is compile-time-only:
Maven uses `provided` plus an explicit processor path; the IntelliJ Gradle build
uses `compileOnly` and `annotationProcessor` (also for tests). Keep these versions
aligned. `lombok.config` stops configuration inheritance outside this checkout.
The Model processor module retains `proc=none` for its own bootstrap; its compiler
tests explicitly exercise Lombok and Model generation together.
Records, interface adapters, JavaFX property methods and lifecycle operations
remain explicit where annotations would obscure their contracts. Vendored Kit
code is excluded from stylistic cleanup. Neither host nor target tooling needs
Lombok on its runtime classpath.
## Run the minimal hosts
For a bundled runtime and native standalone launcher, see [packaging and automated qualification](docs/standalone-distribution.md). The commands below remain development launchers.
@@ -59,6 +74,8 @@ These graphical checks require a macOS desktop session; other platforms are not
## Implementation references
- [Lombok adoption](docs/lombok-adoption.md): scope, API preservation and build/host validation.
- [Initial project contract](docs/initial-project-contract.md): module responsibilities, configuration, snapshots, runtimes, preview sessions and communication.
- [Repository bootstrap plan](docs/repository-bootstrap-plan.md): ordered work packages and acceptance gates. Bootstrap work packages 1–7 are implemented; source-preserving projection is implemented and its [manual drag/resize gate](docs/manual-input-validation.md) passed in both hosts on the recorded baseline. Stage 3 now implements [target-runtime sessions, sizing and navigation](docs/target-runtime-sessions.md), with [manual passes and explicitly skipped remaining checks](docs/manual-runtime-navigation.md) recorded.
- [Decision provenance](docs/provenance.md): workspace planning and captured prototype evidence.