gradle-build-performance

Diagnoses and optimizes Android Gradle build performance using build scans and caching.

1|2|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/jhparktime/OnGuard --skill gradle-build-performance-jhparktime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gradle-build-performance
Source: https://github.com/jhparktime/OnGuard/tree/main/.claude/skills/gradle-build-performance
Command: npx skills add https://github.com/jhparktime/OnGuard --skill gradle-build-performance-jhparktime

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Debugging and optimizing Android/Gradle build performance, reducing build times and stabilizing CI pipelines.

Core Features & Use Cases

  • Measure baseline build times (clean vs incremental)
  • Generate and analyze Gradle build scans
  • Apply targeted optimizations: configuration cache, build cache, parallel execution
  • Diagnose bottlenecks in initialization, configuration, and execution phases
  • Validate improvements with before/after timing

Quick Start

Identify the current bottleneck in your Android project and apply a targeted optimization to reduce build time.

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 slow Android Gradle builds?

Speed up slow Android Gradle builds by measuring baseline build times, generating a build scan to diagnose bottlenecks, and applying targeted optimizations like the configuration cache, build cache, and parallel execution to reduce overall build time.

What is a Gradle build scan and when do I need it for optimization?

A Gradle build scan is a diagnostic report needed when pinpointing exact build performance bottlenecks. You need it to analyze initialization, configuration, and execution phases, allowing you to identify exactly where time is lost before applying targeted build cache or parallel execution optimizations.

Does this approach work for optimizing Gradle builds in CI/CD pipelines?

Yes, this approach works for optimizing Gradle builds in CI/CD pipelines. It specifically targets slow clean builds, incremental builds, and CI/CD pipelines by measuring baselines, applying configuration and build cache optimizations, and validating improvements through before and after timing profiles.

How do I diagnose Gradle configuration cache bottlenecks?

Diagnose Gradle configuration cache bottlenecks by generating a build scan to analyze the initialization, configuration, and execution phases. Once bottlenecks are identified, apply targeted optimizations and validate improvements using before and after timing profiles to ensure stability.

What's the best way to measure Android incremental build performance improvements?

The best way to measure Android incremental build performance improvements is by recording baseline build times for clean versus incremental builds, applying targeted optimizations, and then validating the improvements with before and after timing profiles generated from a build scan.