gradle-build-performance

Diagnose Android Gradle build bottlenecks and apply optimizations like configuration cache.

127|8|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/hanamizuki/solopreneur --skill gradle-build-performance-hanamizuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gradle-build-performance
Source: https://github.com/hanamizuki/solopreneur/tree/main/plugins/android-dev/skills/gradle-build-performance
Command: npx skills add https://github.com/hanamizuki/solopreneur --skill gradle-build-performance-hanamizuki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Slow Android/Gradle builds hinder development and CI efficiency. This skill helps identify bottlenecks and guide targeted optimizations to reduce build times.

Core Features & Use Cases

  • Performance diagnosis: measure Gradle phases, analyze configuration vs execution, and locate bottlenecks.
  • Optimization guidance: apply proven patterns such as enabling configuration caches, build caches, parallel execution, and KSP/kapt improvements, plus repository tuning.
  • Use Case: When a project consistently takes minutes to build, use this skill to create an actionable plan that reduces build time and increases feedback velocity.

Quick Start

Run a baseline Android/Gradle build with a scan to begin diagnosing bottlenecks.

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 baselines with build scans, locating configuration or execution bottlenecks, and applying optimizations like parallel execution and build caches to reduce build times.

How do I diagnose Gradle build performance bottlenecks in a multi-module project?

Diagnose Gradle build performance bottlenecks by generating a build scan to analyze configuration, execution, and dependency-resolution phases across multi-module and monorepo setups to locate specific delays.

What is the best way to improve Gradle configuration cache and build cache for Android?

The best way to improve Gradle configuration cache and build cache is applying proven optimization patterns like enabling parallel execution, adjusting KSP/kapt, and repository tuning to verify tangible build time reductions.

Can I optimize CI build performance for an Android monorepo setup?

You can optimize CI build performance for Android monorepo setups by measuring baselines, analyzing dependency-resolution bottlenecks, and applying configuration cache and parallel execution optimizations to increase feedback velocity.

Why does Gradle dependency resolution take so long during Android builds?

Gradle dependency resolution takes long during Android builds due to untuned repositories and configuration bottlenecks, which you can identify through build scans and fix with repository tuning and cache optimizations.