# A More Reliable Compilation Scheme for Kotlin Multiplatform Modules

DevFeed: [A More Reliable Compilation Scheme for Kotlin Multiplatform Modules](<https://devfeed.tech/articles/a-more-reliable-compilation-scheme-for-kotlin-multiplatform-modules-61250.md>)

Original publisher: [Read original article](<https://blog.jetbrains.com/kotlin/2026/09/a-more-reliable-compilation-scheme-for-kotlin-multiplatform-modules/>)

Author: Aleksey Zamulla

Published: 2026-09-28T09:38:26Z

Content type: tutorial

Language: en

Sources: [JetBrains](<https://devfeed.tech/sources/the-jetbrains-blog.md>), [Kotlin](<https://devfeed.tech/sources/kotlin-a-concise-multiplatform-language-developed-by-jetbrains-the-jetbrains-blog.md>)

Topics: [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [experimental-features](<https://devfeed.tech/tags/experimental-features.md>), [kmp](<https://devfeed.tech/tags/kmp.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-2](<https://devfeed.tech/tags/kotlin-2.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [modules](<https://devfeed.tech/tags/modules.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>)

## AI overview

The article describes an optional, experimental separate compilation approach for Kotlin Multiplatform introduced with Kotlin 2.5.0-Beta1. It aims to align compiler results with IDE analysis, identify problematic library calls from common source sets more consistently, and enable incremental compilation for common source sets.

## Source excerpt

The current compilation approach to Kotlin Multiplatform projects works, but sometimes can lead to unexpected or hard-to-predict behavior. For example: With Kotlin 2.5.0-Beta1, we introduced an optional "separate compilation" approach to KMP that solves both problems: make the compilation results consistent with IDE analysis, and point more consistently to problematic calls of library code from [...]