agp-9-upgrade

Migrate Android projects to Android Gradle Plugin 9 with built-in Kotlin.

Updated May 5, 2023
One-click install
npx skills add https://github.com/uyelikanil/AwesomeSunsetWallpapers --skill agp-9-upgrade-uyelikanil
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/uyelikanil/AwesomeSunsetWallpapers/tree/main/.agents/skills/agp-9-upgrade
Command: npx skills add https://github.com/uyelikanil/AwesomeSunsetWallpapers --skill agp-9-upgrade-uyelikanil

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 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 and built-in Kotlin.
  • Troubleshooting: Offers specific workarounds for common integration issues like Paparazzi compatibility and custom BuildConfig field configuration.

Quick Start

Initiate the migration process by asking the assistant to analyze your current project configuration and apply the necessary AGP 9 updates.

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 AGP DSL, enabling built-in Kotlin support, and validating KSP and hilt versions for Gradle compatibility.

Does AGP 9 migration require removing legacy kapt?

AGP 9 migration requires legacy-kapt removal. You must transition to built-in Kotlin support and validate KSP integration to satisfy the technical requirements of the new Android Gradle Plugin version.

Can I use hilt and KSP with Android Gradle Plugin version 9?

You can use hilt and KSP with Android Gradle Plugin version 9. The migration process automatically validates and updates KSP and hilt versions to meet the specific AGP 9 requirements.

What are common AGP 9 migration issues with Paparazzi and BuildConfig?

Common AGP 9 migration issues include Paparazzi compatibility and custom BuildConfig field configuration. The migration process provides specific troubleshooting workarounds to resolve these build integration problems.

How do I update Gradle build scripts for the new AGP DSL?

Updating Gradle build scripts for the new AGP DSL involves migrating legacy build logic in your application and library modules to match the updated Android Gradle Plugin version 9 standards.