agp-9-upgrade

Migrate Android projects to Android Gradle Plugin 9 with compatibility checks and DSL changes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/soygabimoreno/Los-ANDROIDES --skill agp-9-upgrade-soygabimoreno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/soygabimoreno/Los-ANDROIDES/tree/main/.agents/skills/agp-9-upgrade
Command: npx skills add https://github.com/soygabimoreno/Los-ANDROIDES --skill agp-9-upgrade-soygabimoreno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Upgrading Android projects to Android Gradle Plugin (AGP) 9 is disruptive because it introduces breaking changes across the build system, Gradle DSL, and related tooling versions.

Core Features & Use Cases

  • Upgrade readiness checks: Verifies the project’s current AGP version, plus required minimum versions for KSP and Hilt when present.
  • Migration coverage for major AGP 9 shifts: Guides migration to built-in Kotlin, moves build logic to the new AGP DSL, and helps handle kapt transitions to KSP or legacy-kapt.
  • Build configuration cleanup and verification: Removes obsolete gradle.properties flags and provides a practical verification checklist to confirm the migration works.

Quick Start

Ask the skill to migrate your Android project to AGP 9 and align Kotlin, KSP/kapt, Hilt, and the AGP DSL, starting with an AGP version check.

Frequently Asked Questions about agp-9-upgrade

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate my Android project to AGP 9?

To migrate to Android Gradle Plugin 9, verify your current AGP version, enforce minimum KSP and Hilt versions, migrate to built-in Kotlin, convert build logic to the new AGP DSL, and transition kapt to KSP or legacy-kapt.

What breaking changes does AGP 9 introduce for Gradle build scripts?

AGP 9 introduces breaking changes across the build system by requiring migration to built-in Kotlin, adopting the new AGP DSL for build logic, and removing obsolete gradle.properties flags.

Does the AGP 9 upgrade process support Kotlin Multiplatform projects?

No, AGP 9 migration using this process forbids unsupported Kotlin Multiplatform (KMP) migrations and is strictly designed for non-KMP Android projects.

Do I need to replace kapt with KSP when upgrading to AGP 9?

When upgrading to AGP 9, you must transition kapt usage to KSP or legacy-kapt, while also ensuring your KSP and Hilt versions meet the required minimum tool versions.

How do I verify a successful AGP 9 migration after updating build scripts?

Verify a successful AGP 9 migration by enforcing post-migration Gradle sync and performing a dry-run build verification using the provided practical checklist.