Gradle settings plugins for AI coding agents -- Claude Code, GitHub Copilot, OpenAI Codex, and OpenCode.
| Module | Plugin ID | Tasks | README |
|---|---|---|---|
:exec |
-- | -- | exec/README.md |
:claude |
zone.clanker.claude |
13 | claude/README.md |
:copilot |
zone.clanker.copilot |
9 | copilot/README.md |
:codex |
zone.clanker.codex |
13 | codex/README.md |
:opencode |
zone.clanker.opencode |
18 | opencode/README.md |
# Claude Code
bun install -g @anthropic-ai/claude-code
# GitHub Copilot
brew install --cask copilot-cli # or: bun install -g @github/copilot
# OpenAI Codex
brew install --cask codex # or: bun install -g @openai/codex
# OpenCode
brew install opencode # or: bun install -g opencode-aiApply the plugin for the agent you want to use in settings.gradle.kts:
plugins {
id("zone.clanker.claude") version "<version>"
}
claude {
model = "opus"
effort = "high"
}Then run tasks from the command line:
./gradlew claude-run -Pprompt="Fix the build"./gradlew claude-run -Pprompt="Fix the build"
./gradlew claude-resume -PsessionId="abc123"
./gradlew claude-auth
./gradlew claude-version
./gradlew claude-doctorSee claude/README.md for all 13 tasks and configuration options.
./gradlew copilot-run -Pprompt="Refactor the data layer"
./gradlew copilot-resume -PsessionId="abc123"
./gradlew copilot-init
./gradlew copilot-auth
./gradlew copilot-versionSee copilot/README.md for all 9 tasks and configuration options.
./gradlew codex-exec -Pprompt="Add unit tests"
./gradlew codex-review -Pbase="main"
./gradlew codex-auth
./gradlew codex-versionSee codex/README.md for all 13 tasks and configuration options.
./gradlew opencode-run -Pprompt="Explain this codebase"
./gradlew opencode-stats -Pdays="7"
./gradlew opencode-auth
./gradlew opencode-versionSee opencode/README.md for all 18 tasks and configuration options.
./gradlew buildMIT -- see LICENSE.