A More Reliable Compilation Scheme for Kotlin Multiplatform Modules
JetBrains has introduced an optional separate-compilation approach for Kotlin Multiplatform in Kotlin 2.5.0-Beta1, disabled by default and marked Experimental. The approach aims to align IDE analysis with compiler results and more consistently flag problematic library calls from common source sets. It also enables incremental compilation for common source sets; developers can opt in with the kotlin.kmp.separateCompilation=true Gradle property.
AI-written summary, checked against the cited sources. How summaries work