android-gradle-build-performance
Installation
SKILL.md
Android Gradle Build Performance
When To Use
- Use this skill when the request is about: android gradle build performance, configuration cache android build, ksp vs kapt android.
- Primary outcome: Diagnose and improve Android and Gradle build performance with scans, cache checks, and bottleneck audits.
- Use this skill when the problem is build speed, task churn, cache misses, or CI wall time rather than build-logic structure.
- Read
references/patterns.mdwhen you need the measurement ladder or the most common Gradle performance smells. - Read
references/scenarios.mdfor audit-first entry points on the example projects. - Handoff skills when the scope expands:
android-gradle-build-logicandroid-ci-cd-release-playstore
Workflow
- Identify whether the problem is local developer feedback time, CI build duration, or both.
- Measure one build path at a time with
--profile,--scan, configuration-cache diagnostics, or the bundled audit script before proposing a fix. - Check
gradle.properties, plugin wiring, dependency declarations, task registration style, and module conventions for common performance smells. - Apply one high-confidence optimization at a time, then compare before and after behavior instead of stacking changes.
- Hand off structural Gradle refactors or release-pipeline changes once the performance bottleneck is isolated.