KMP4FREE in 2023
summary
KMP4FREE is a Gradle plugin that lets projects flip between Kotlin JVM and Kotlin Multiplatform with a single-line change, applying multiplatform only when a Gradle flag is true and otherwise proxying to the JVM plugin. It maps main→commonMain and test→jvmTest in memory, preserves JVM test tasks, and can produce an iOS framework on assemble; it reduces risk but notes multiplatform historically breaks configuration cache and doubles task count (7→14). A companion tool KMP Readiness scans dependencies (ran across 450 modules in ~15s) and lists concrete fixes to make modules multiplatform-compatible.
AI-written summary · about
chapters (11)
- 0:00Introduction and background
- 1:17What is KMP for free
- 2:40How KMP for free works
- 7:35Live demo of KMP for free
- 11:46Comparison with multiplatform plugin
- 14:40Finding your path to multiplatform
- 17:24Risk mitigation and future adoption
- 23:03Identifying target projects
- 25:51Introducing KMP readiness
- 33:16Live demo of KMP readiness
- 37:48Conclusion and future outlook
related talks
29mKMP for Mobile Developers
33mGetting started with KMP
38mBuild a Multiplatform Future with Kotlin
35mThe Art of KMP: what you need to know as a multiplatform developer
39mKotlin Multiplatform: The (Very) Good, The Bad & The Ugly
48mModern KMP adoption for native mobile teams
39mAn Overview of Multiplatform Kotlin
38mMultiplatfom projects with Kotlin
