What problem does it solve?
It resolves build failures and incompatibilities that occur when upgrading Kotlin Multiplatform (KMP) projects to Android Gradle Plugin (AGP) 9.0+, especially when Kotlin Android plugins and legacy KMP/Android configurations are still used in the same module.
Core Features & Use Cases
- Project analysis and module classification: Reads Gradle settings, detects applied plugins per module, determines whether the project needs a library swap, an app split, or a full restructure, and recommends the minimal safe migration path.
- AGP 9.0 KMP migration guidance: Provides concrete steps to replace
com.android.library with com.android.kotlin.multiplatform.library, remove incompatible org.jetbrains.kotlin.android, migrate Android DSL into kotlin { android {} }, and handle KMP library limitations (single-variant model, resources enablement, dependency placement).
- Optional structured assistance: Suggests running the included project analysis script (when available) and using reference docs for DSL mapping, known issues, and plugin compatibility.
Use case examples: upgrading an existing KMP shared module that currently uses com.android.library, fixing sync/build errors mentioning com.android.kotlin.multiplatform.library, or migrating when the project explicitly mentions AGP 9.0 / KMP migration blockers.
Quick Start
Tell the skill: migrate my KMP project to AGP 9.0+, and ask whether you should apply Path B (mandatory android app split) or Path C (full restructure), then provide the exact plugin and DSL changes to make for each module.