dawiddutoit/custom-claude/gradle-troubleshooting
Claude Code and agent skill by dawiddutoit/custom-claude
- community
Checking that the SKILL.md file is still in the repository.
Analyzes and resolves common Gradle build issues including OutOfMemory errors, dependency conflicts, build cache problems, configuration cache failures, and slow builds. Use when asked to "debug Gradle build", "fix build failure", "troubleshoot Gradle", or "resolve dependency conflicts". Works with build.gradle.kts, gradle.properties, and build logs.
Install
npx vskill@latest install dawiddutoit/custom-claude/gradle-troubleshootingSKILL.md
Gradle Troubleshooting
Table of Contents
When to Use This Skill
Use this skill when you need to:
- Debug OutOfMemoryError or heap space issues
- Resolve dependency conflicts and version mismatches
- Fix build cache or configuration cache problems
- Diagnose slow build performance
- Troubleshoot daemon or wrapper issues
- Debug plugin loading failures
- Resolve TestContainers or Docker connectivity issues
- Investigate test failures in CI but not locally
Quick Start
When a build fails, run in order:
Instructions
Step 1: Diagnose with Debug Output
Run with increasing verbosity to identify the issue:
Step 2: Identify the Issue Category
OutOfMemoryError:
Dependency resolution:
Build cache problems:
Configuration cache:
Plugin issues:
Step 3: Fix OutOfMemoryError
Immediate fix - Increase heap size:
Permanent fix - Update gradle.properties:
Verify fix:
Step 4: Debug Dependency Resolution
Understand why dependencies aren't resolving:
Common solutions:
Option 1: Force specific version:
Option 2: Exclude problematic transitive dependency:
Option 3: Use dependency constraints:
Step 5: Debug Build Cache Issues
Test if build cache is causing problems:
Common build cache issues:
Issue: Build slower with cache enabled
Issue: Incorrect cached results
Step 6: Debug Configuration Cache
Test if configuration cache is compatible:
Common configuration cache issues:
Issue: Build fails with configuration cache
Issue: Plugins not compatible
For advanced troubleshooting including slow build analysis, daemon management, wrapper issues, and plugin resolution, see references/advanced-troubleshooting.md.
Examples
Example 1: Complete Troubleshooting Workflow
Example 2: Dependency Conflict Resolution
For advanced examples including slow build analysis, configuration cache debugging, and Docker troubleshooting, see references/advanced-examples.md.
Commands Reference
See references/commands-and-checklists.md for complete command reference, troubleshooting checklist, and quick reference table.
See Also
- gradle-testing-setup - Configure testing infrastructure
- gradle-performance-optimization - Optimize build performance
- gradle-ci-cd-integration - CI/CD integration patterns
- Gradle Documentation
- Gradle Build Scans
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gradle-troubleshooting/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawiddutoit/custom-claude/gradle-troubleshooting)