pseudo-kmp
Installation
SKILL.md
Pseudo-KMP Modules
The monorepo is compiled by JPS, which does not support Kotlin Multiplatform. To emulate KMP expect/actual declarations, the Fleet team created the expects-compiler-plugin. This skill covers how to set up and work with modules that use this mechanism.
Documentation
- Multiplatform Migration Guide — step-by-step migration instructions
- Multiplatform Support README — compiler plugin usage and registration
- ExpectInMultiplatform.kt —
linkToActual()and@ActualAPI docs
Module Configuration Checklist
When creating or migrating a pseudo-KMP module:
- Register in the structure test. Add your module name to the
multiplatformModuleslist incom.intellij.ideaProjectStructure.fast.MultiplatformModuleStructureTest(tests/ideaProjectStructure/testSrc/com/intellij/ideaProjectStructure/fast/MultiplatformModuleStructureTest.kt).