agp-9-upgrade

Migrate Android build logic and dependencies to Android Gradle Plugin 9.

Updated Jul 6, 2026
One-click install
npx skills add https://github.com/shirulot/codex-skill --skill agp-9-upgrade-shirulot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/shirulot/codex-skill/tree/main/agp-9-upgrade
Command: npx skills add https://github.com/shirulot/codex-skill --skill agp-9-upgrade-shirulot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates the complex and error-prone process of upgrading Android projects to Android Gradle Plugin (AGP) 9, ensuring compatibility with new DSL requirements and updated dependency standards.

Core Features & Use Cases

  • Dependency Management: Automatically validates and updates KSP and Hilt versions to meet AGP 9 requirements.
  • DSL Migration: Provides structured guidance for migrating legacy build logic to the new AGP 9 DSL.
  • Use Case: Use this skill when your project needs to adopt the latest Android build standards, ensuring that custom BuildConfig fields, KSP/kapt configurations, and test reports are correctly updated to prevent build failures.

Quick Start

Initiate the agp-9-upgrade skill to begin the migration process for your current Android project.

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?

Migrate Android projects to AGP 9 by updating build logic and dependencies to match the new DSL and built-in Kotlin support. This ensures compatibility with KSP, updates BuildConfig fields, and configures Paparazzi tests to prevent build failures.

When do I need to update KSP and Hilt versions for Android Gradle Plugin 9?

Update KSP and Hilt versions during your AGP 9 migration to validate and meet new dependency requirements. The migration process automatically checks these libraries to ensure they are compatible with the updated Android Gradle Plugin 9 standards.

Does AGP 9 support built-in Kotlin for Android build scripts?

Yes, AGP 9 supports built-in Kotlin for Android build scripts. Migrating to AGP 9 transitions your development environment to utilize this built-in Kotlin support and the new DSL, replacing legacy build logic configurations.

Why does my BuildConfig migration fail after upgrading to Android Gradle Plugin 9?

BuildConfig migration fails after upgrading to Android Gradle Plugin 9 if custom fields are not correctly updated to the new DSL. The migration process provides structured guidance to properly format BuildConfig fields and resolve build errors.

Can I use Paparazzi test configurations with AGP 9?

Yes, you can use Paparazzi test configurations with AGP 9. Migrating your Android project to AGP 9 includes updating test reports and Paparazzi configurations to ensure your testing environment remains fully functional and compatible.

What is the best way to transition from AGP 8 to AGP 9 DSL?

The best way to transition from AGP 8 to AGP 9 DSL is using an automated migration process that updates build logic and dependencies. It targets Android environments requiring transition to the new AGP 9 DSL and built-in Kotlin support.