mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-15 01:15:29 -04:00
Kotlin 2.4.0 (#5760) stabilized several features this build still configured manually: - kotlin.uuid.Uuid (incl. Uuid.random/parse) is stable: remove the global -opt-in and the per-file @OptIn(ExperimentalUuidApi) usages. Only the generateV4/V7 variants remain experimental and nothing in the repo uses them. - kotlin.time Clock/Instant have been stable since 2.3 and no still-experimental kotlin.time API is used: remove the global -opt-in=kotlin.time.ExperimentalTime. - Context parameters are stable: remove -Xcontext-parameters. - Annotation use-site defaulting (param-property) is the language default now; the compiler reported -Xannotation-default-target as redundant: remove it. - OptimizeNonSkippingGroups is default Compose compiler behavior and the feature flag is deprecated (removal slated for Kotlin 2.6): drop it from ComposeCompilerConfiguration. Verified: spotlessApply spotlessCheck detekt assembleDebug test allTests kmpSmokeCompile all pass (2756 tests, 0 failures), with no remaining warnings about the removed flags. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>