build(desktop): enable Compose hot reload for the desktop app (#6877)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
James RichandClaude Opus 5 authored and GitHub committed 2026-08-26 00:28:32 +00:00
1 parent 91c70cbfee
commit b2daa7858e
1 file changed
+7
+7
View File
@@ -25,6 +25,13 @@ plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.compose.compiler)
alias(libs.plugins.compose.multiplatform)
// Adds `:desktopApp:hotRun` — the app relaunched with live recomposition on source edits.
// Needs the JetBrains Runtime for enhanced class redefinition, which the jvmToolchain block
// below already pins (vendor JETBRAINS, resolved by the foojay resolver in settings.gradle.kts).
// Version-less because the Compose Multiplatform plugin already carries hot-reload on the
// build classpath; requesting a version fails resolution ("already on the classpath with an
// unknown version"), the same reason Mokkery is applied bare below.
id("org.jetbrains.compose.hot-reload")
alias(libs.plugins.meshtastic.detekt)
alias(libs.plugins.meshtastic.spotless)
alias(libs.plugins.meshtastic.koin)