Rok Oblak
05/24/2025, 10:39 AMRok Oblak
05/24/2025, 10:42 AMcomposeApp:compileKotlinDesktop (8789 ms) is run every timeKashismails
05/24/2025, 7:40 PMzsmb
05/26/2025, 8:22 AMSebastian Sellmair [JB]
05/26/2025, 8:29 AMAsapha
05/26/2025, 9:04 AMcommonMain
To verify this
• add kotlin.build.report.output=file to gradle.properties
• compile once, make your padding change, compile again
• check build/reports/kotlin-build at the root
• You should see Non-incremental compilation will be performed: UNSAFE_INCREMENTAL_CHANGE_KT_62686 in the txt file
(Referenced issue)Rok Oblak
05/26/2025, 9:15 AMRok Oblak
05/26/2025, 9:21 AMSebastian Sellmair [JB]
05/26/2025, 9:24 AMtapchicoma
05/26/2025, 9:26 AMSebastian Sellmair [JB]
05/26/2025, 9:30 AMWojtek
12/04/2025, 10:16 AMSebastian Sellmair [JB]
12/04/2025, 10:21 AMRok Oblak
12/04/2025, 10:23 AMSebastian Sellmair [JB]
12/04/2025, 10:26 AMis almost a deal-breaker for preview/hot reload.Would it be fair if I'd reformulate it to 'is almost making preview/hot reload *unejoyable*'. Regular restarts will similarly suffer from the 5 to 10 second delay, right? However: Are you using a KMP project and is one of the modules rather large?
Sebastian Sellmair [JB]
12/04/2025, 10:27 AMRok Oblak
12/04/2025, 10:27 AMSebastian Sellmair [JB]
12/04/2025, 10:28 AMSebastian Sellmair [JB]
12/04/2025, 10:29 AMRok Oblak
12/04/2025, 10:31 AMSebastian Sellmair [JB]
12/04/2025, 10:32 AMWojtek
12/05/2025, 4:51 PMSebastian Sellmair [JB]
12/08/2025, 8:51 AMRok Oblak
12/08/2025, 8:54 AMWojtek
12/09/2025, 11:49 AMGradle configuration cache and enabling unsafe incremental compilation for KMP (which shows that IC will have a huge impact)Which property is this "unsafe incremental compilation"? Looking at https://kotlinlang.org/docs/gradle-compilation-and-caches.html#incremental-compilation I only see mention of regular incremental compilation and how to disable it explicitly. I searched the internet but nothing relevant stood out. I did find https://youtrack.jetbrains.com/issue/KT-62686/K2-Common-module-sees-platform-declarations-in-case-of-MPP-project-incremental-compilation#focu[…].0-0 which mentions
kotlin.internal.incremental.enableUnsafeOptimizationsForMultiplatform=true which seems to reduce the time from ~7s to ~3s which is quite nice but I do wonder are there any other options / properties 🙂Sebastian Sellmair [JB]
12/09/2025, 11:50 AMSebastian Sellmair [JB]
12/09/2025, 11:52 AMSebastian Sellmair [JB]
12/09/2025, 11:55 AMWojtek
12/09/2025, 3:55 PMWojtek
12/09/2025, 3:56 PMWojtek
12/09/2025, 4:00 PM