Android AGP 9 Upgrade
Migrates Android projects to Android Gradle Plugin 9 while managing dependency updates and DSL transitions.
This skill automates the complex transition of Android projects to Android Gradle Plugin (AGP) 9, handling breaking changes and modernization requirements. It systematically manages dependency updates for KSP and Hilt, migrates projects to built-in Kotlin support, and implements the new AGP DSL. By automating the cleanup of deprecated flags in gradle.properties and performing rigorous build verification, it ensures a stable and efficient upgrade path while avoiding common pitfalls associated with legacy kapt configurations and build configurations.
Key Features
01Updates critical dependencies including KSP 2.3.6+ and Hilt 2.59.2+
02Migrates legacy build scripts to the new AGP DSL and built-in Kotlin
03Cleans up deprecated gradle.properties flags and temporary build files
04Handles transition from kapt to KSP or legacy-kapt for annotation processing
050 GitHub stars
06Automated migration to Android Gradle Plugin version 9
Use Cases
01Migrating legacy annotation processing from kapt to KSP during a build system upgrade
02Upgrading a production Android application from AGP 8 to AGP 9
03Refactoring Android build logic to comply with the new AGP DSL requirements