Update your Kotlin projects for Android Gradle Plugin 9.0 | The Kotlin Blog
Blog post from JetBrains
Android Gradle Plugin (AGP) 9.0 introduces significant changes for Kotlin projects, requiring Android apps to adopt the built-in Kotlin support and Kotlin Multiplatform projects to migrate to a new Android KMP library plugin. This update eliminates the need for the separate Kotlin Android plugin, although projects using kapt or custom kotlinOptions will require additional configuration updates. A new Android KMP library plugin now replaces the previously used Android library and application plugins for multiplatform modules, necessitating migration of existing modules. While temporary opt-outs are possible, they will not be supported in AGP 10.0, expected in 2026. Developers are advised to update tools and plugins that rely on AGP and use the latest versions of Android Studio or IntelliJ IDEA for full compatibility. Comprehensive migration guides are available to facilitate these transitions, ensuring projects remain current with AGP developments.