gradle-build-performance

Diagnose Android/Gradle build performance with build scans and configuration cache.

Updated Nov 3, 2025
One-click install
npx skills add https://github.com/devanfer02/telnetquiz --skill gradle-build-performance-devanfer02
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gradle-build-performance
Source: https://github.com/devanfer02/telnetquiz/tree/main/.claude/skills/gradle-build-performance
Command: npx skills add https://github.com/devanfer02/telnetquiz --skill gradle-build-performance-devanfer02

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps software engineers accelerate Android/Gradle builds by diagnosing configuration, execution, and caching bottlenecks to cut development and CI time.

Core Features & Use Cases

  • Baseline measurement: capture clean and incremental build timings to quantify improvements.
  • Build analysis: generate and interpret Gradle Build Scans to pinpoint bottlenecks.
  • Optimizations: apply configuration-cache, build-cache, and parallel execution to reduce rework and improve cache hits.

Use cases include speeding up CI pipelines, reducing long local build times, and profiling Kotlin/Kapt/KSP annotation processing.

Quick Start

Run a baseline build to establish a baseline, generate a Gradle Build Scan, apply one optimization (such as enabling configuration cache), and verify the performance improvement.

Frequently Asked Questions about gradle-build-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I speed up my Android Gradle builds and reduce CI time?

To speed up Android Gradle builds, capture baseline timings, generate a Gradle Build Scan to pinpoint bottlenecks, and enable configuration cache, build cache, and parallel execution to significantly cut down development and CI time.

How do I use a Gradle Build Scan to diagnose build performance bottlenecks?

A Gradle Build Scan helps diagnose build performance by profiling your build to identify whether configuration or execution phases are causing bottlenecks, allowing you to target optimizations like caching or parallel execution effectively.

What is the best way to enable Gradle configuration cache for Android projects?

The best way to enable Gradle configuration cache is to verify your project satisfies compatibility requirements, apply the setting, and run a baseline build to confirm that cache hits are improving build performance without configuration errors.

Can I migrate from kapt to KSP to improve Kotlin build performance?

Yes, you can migrate from kapt to KSP to improve Kotlin build performance. Profiling annotation processing bottlenecks helps determine when this migration is applicable to reduce incremental build and execution times.

Does enabling parallel execution work with Gradle configuration cache?

Yes, enabling parallel execution works with Gradle configuration cache. Applying both features alongside build cache reduces rework and improves cache hits, optimizing both local development and CI/CD workflows.

Why is my Gradle incremental build still slow after enabling build cache?

If your Gradle incremental build is slow, generate a build scan to identify remaining configuration or execution bottlenecks. You may need to verify cache hits or migrate annotation processors from kapt to KSP.