Plugin
id("org.jetbrains.compose.hot-reload") version "1.0.0-alpha05"
Important Notes
🎉 Wrapping your code with DevelopmentEntryPoint
is no longer required. It is advised to remove the call.
The dependency on the 'runtime-api', added by default, will be removed in alpha06
as part of the project stabilization.
This release also switches conceptionally to re-running only parts of the composable tree marked as dirty.
This should also help getting started more easily as issues like 'koin already initialized' are mitigated.
Changes
- Removed requirement to wrap user code with
DevelopmentEntryPoint
- DevTools: Support complex environments where the current process binary is not 'bin/java' (tbx)
- Fix restarted process being killed by the original process death
- Fixed issue #127 (full fix requires JBR update): Removed override functions will be marked as dirty
- Dirty Resolution: Do not mark remember groups as dirty; enqueue parents instead
- Dirty Resolution: Mark removed compose groups as dirty
- Introduce 'jvmRunHot' task, enabling future IDE tooling to integrate easily
- Implement 'compose.reload.jbr.binary', enabling future IDE tooling to provide the JBR
- Add 'isHotReloadBuild' property to allow advanced build authors to optimize their reload times