AGP 9 Android Migration

•
1
•

Migrates Android projects to Android Gradle Plugin (AGP) 9 by automating DSL updates, dependency alignment, and Kotlin integration.

This skill provides a comprehensive workflow for upgrading Android projects to Android Gradle Plugin 9.0. It systematically handles the transition to the new AGP DSL, manages critical dependency updates for KSP and Hilt, and facilitates the migration to built-in Kotlin support. Designed to minimize breaking changes, it guides the user through pre-migration requirements, handles the transition from kapt to KSP, and performs essential cleanup of legacy gradle.properties flags. It is an essential tool for developers looking to modernize their Android build pipeline while ensuring stability through automated verification steps.

주요 기능

01Post-migration verification via Gradle sync and dry-run build checks
02Automated migration to the modernized AGP 9 DSL syntax
03Transition support for kapt to KSP or legacy-kapt implementations
04Automated cleanup of deprecated gradle.properties flags like android.newDsl
051 GitHub stars
06Dependency version enforcement for KSP (2.3.6+) and Hilt (2.59.2+)

사용 사례

01Migrating annotation processing from kapt to KSP during a major build system update
02Refactoring complex Gradle build scripts to comply with the new AGP 9 DSL
03Upgrading a production Android application from AGP 8.x to AGP 9.0