agp-9-upgrade

Migrate Android projects to Android Gradle Plugin version 9.

28|5|Updated Oct 8, 2024
One-click install
npx skills add https://github.com/kabirnayeem99/Ktor2Curl --skill agp-9-upgrade-kabirnayeem99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/kabirnayeem99/Ktor2Curl/tree/main/.agents/skills/agp-9-upgrade
Command: npx skills add https://github.com/kabirnayeem99/Ktor2Curl --skill agp-9-upgrade-kabirnayeem99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the complex and error-prone process of migrating Android projects to Android Gradle Plugin (AGP) 9, ensuring compatibility with new DSL requirements and built-in Kotlin standards.

Core Features & Use Cases

  • Dependency Management: Automatically identifies and updates KSP and Hilt versions to meet AGP 9 requirements.
  • DSL Migration: Provides structured guidance and recipes for transitioning from legacy build logic to the new AGP DSL.
  • Use Case: Use this skill when your team decides to upgrade the build infrastructure of a large-scale Android application to leverage the performance and feature improvements of AGP 9.

Quick Start

Run the agp-9-upgrade skill to analyze the current project configuration and apply the necessary migration steps for AGP 9.

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?

Migrating to AGP 9 involves transitioning legacy build logic to the new DSL and updating dependencies like KSP and Hilt. This skill automates these updates and validates the migration through automated build and sync verification.

What do I need to check before upgrading to Android Gradle Plugin 9?

Before upgrading to Android Gradle Plugin 9, you need to verify compatibility for your Gradle, JDK, and Kotlin versions. This skill enforces these compatibility checks automatically to ensure your standard Android modules are ready for migration.

Does AGP 9 migration require updating Hilt and KSP versions?

AGP 9 migration requires updating Hilt and KSP versions to meet new compatibility standards. This skill automatically identifies and updates these dependencies to align your project with AGP 9 requirements.

What is the best way to transition legacy build logic to the new AGP DSL?

Transitioning legacy build logic to the new AGP DSL requires structured guidance and recipes for adapting to new built-in Kotlin standards. This skill provides these migration steps to streamline the transition for standard Android modules.

Can I automate build verification after upgrading my Android project to AGP 9?

Yes, you can automate build verification after upgrading to AGP 9. This skill validates migration success by running automated build and sync verification steps to ensure your Android project functions correctly after the dependency and DSL updates.