Gradle Build Performance
Diagnostic and optimization guide for slow Android/Gradle builds, covering build scans, phases, and CI caching.
- CCM score
- 59 of 100
- skills.sh installs
- 839
- GitHub stars
- 1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the measure-then-change workflow: baseline timing, build scan generation with
--scan, phase identification, and one change at a time - Includes 12 optimization patterns such as configuration cache, build cache, parallel execution, KSP migration, and pinned dependency versions
- Provides bottleneck tables for slow configuration, slow compilation, and cache misses, each with symptoms and fixes
- Designed for Android teams tuning local builds and CI/CD pipelines that use Gradle and Develocity
Install
$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill gradle-build-performance -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Gradle Build Performance
When to Use
- Build times are slow (clean or incremental)
- Investigating build performance regressions
- Analyzing Gradle Build Scans
- Identifying configuration vs execution bottlenecks
- Optimizing CI/CD build times
- Enabling Gradle Configuration Cache
- Reducing unnecessary recompilation
- Debugging kapt/KSP annotation processing
Example Prompts
- "My builds are slow, how can I speed them up?"
- "How do I analyze a Gradle build scan?"
- "Why is configuration taking so long?"
- "Why does my project always recompile everything?"
- "How do I enable configuration cache?"
- "Why is kapt so slow?"
Workflow
- Measure Baseline — Clean build + incremental build times
- Generate Build Scan —
./gradlew assembleDebug --scan - Identify Phase — Configuration? Execution? Dependency resolution?
- Apply ONE optimization — Don't batch changes
- Measure Improvement — Compare against baseline
- Verify in Build Scan — Visual confirmation
Quick Diagnostics
Generate Build Scan
./gradlew assembleDebug --scan
Profile Build Locally
Details
- Repository
- github.com/new-silvermoon/awesome-android-agent-skills
- Categories
- Mobile Apps, DevOps & Cloud
- First seen
- Jun 3, 2026
More from new-silvermoon/awesome-android-agent-skills
All 17- Compose Ui803
- Android Gradle Logic767
- Android Architecture741
- Kotlin Concurrency Expert713
- Compose Performance Audit631
- Android Accessibility615
- Android Emulator Skill609
- Android Viewmodel609
- Android Coroutines607
- Android Data Layer559
- Android Retrofit520
- Coil Compose492
- Xml To Compose Migration469
- Compose Navigation437
- Rxjava To Coroutines Migration365
- Android Testing901
Similar to Gradle Build Performance
More Mobile Appscompose-performance-auditSkillnew-silvermoon/awesome-android-agent-skills631 installsStructured audit workflow for diagnosing and fixing Jetpack Compose runtime performance issues in UI code.
android-gradle-build-logicSkillkrutikjain/android-agent-skills354 installsStructured guide for shaping Android Gradle build logic, version catalogs, and toolchain compatibility across modules.
r8-analyzerSkillandroid/skills4.2K installsAnalyzes Android build files and R8 keep rules to flag redundant, overly broad, or subsumed rules.
PerfettoMCP serverantarikshc223 starsLets Claude query and diagnose Android Perfetto trace files through natural-language analysis.
performance-optimizationSkilladdyosmani/agent-skills88.5K installsMeasurement-first performance workflow covering frontend Core Web Vitals, backend APIs, and database query bottlenecks.
axiom-build-performanceSkillcharleswiltgen/axiom171 installsDiagnose slow Xcode builds through Build Timeline analysis, type-checking bottlenecks, and Xcode 26 compilation caching.