java-gradle — Claude Code skill: what it does, how to install
Configures Gradle Java projects using Kotlin DSL. Helps set up version catalogs, optimize build caching, and tune compiler tasks.
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a claude-codeWhat java-gradle does
The skill guides the coding agent through Gradle build setups for Java projects. It prioritizes Kotlin DSL by default, but also accepts Groovy via the dsl parameter. It covers version catalogs in gradle/libs.versions.toml, Java toolchains, and plugin declarations.
Build performance settings form a central part of the instructions. The agent configures parallel test execution, incremental compilation arguments, and caching toggles. It requires filesystem and Bash tool permissions to inspect dependencies and update the Gradle wrapper.
Because the skill defaults strictly to Kotlin DSL, working with Groovy requires explicitly overriding the parameter upfront.
What it helps with
- migrate dependencies to a
libs.versions.tomlcatalog - enable build cache and parallel task execution in Gradle
- configure Java toolchains and incremental compilation flags
- resolve dependency version conflicts using constraints
Example prompts for the agent
- Set up a
build.gradle.ktsconfiguration for Spring Boot using Java 21 - Extract dependencies into
gradle/libs.versions.tomlcatalog - Configure parallel testing and enable build caching
How to install java-gradle
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a claude-code2Manually: put the files in place
~/.claude/skills/java-gradle/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/java-gradle/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a codex2Manually: put the files in place
.agents/skills/java-gradle/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a cursor2Manually: put the files in place
.cursor/skills/java-gradle/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install pluginagentmarketplace/custom-plugin-java java-gradle2Manually: put the files in place
.github/skills/java-gradle/SKILL.md1Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a gemini-cli2Platform CLI
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-java --path skills/java-gradleManually: put the files in place
.devin/skills/java-gradle/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about java-gradle
How do I install java-gradle in Claude Code?
Run npx skills add pluginagentmarketplace/custom-plugin-java --skill java-gradle -a claude-code. The skill writes to ~/.claude/skills/java-gradle/SKILL.md.
What does the java-gradle skill do?
It provides prompts and reference patterns for managing Java Gradle builds. It guides task configurations, version catalogs, and build speed optimizations.
Does java-gradle work with Groovy DSL?
Yes, the dsl parameter accepts groovy as an alternative. Without explicit overrides, it defaults to Kotlin DSL.