# Gradle

> Run any Gradle task and report the result. Use when this capability is needed.

- Skill: `tomevault-io/gradle` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/gradle`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/gradle/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/gradle

---


# Gradle Skill

Run a Gradle invocation and report whether it passed or failed.

## Rules

- NEVER modify, edit, or fix any source files
- ONLY run the Gradle command and report the output
- Do NOT add any commentary or interpretation
- Do NOT summarize or condense the errors
- Skip Gradle boilerplate suggestions (lines starting with `* Try:` and `>`)

## Instructions

1. Run `./gradlew` with the provided arguments. Use a timeout of 300000ms (5 minutes).
   - If no arguments provided, run `./gradlew` with no task.

2. Capture both stdout and stderr.

3. Check the exit code and report results:

   **If build PASSES (exit code 0):**
   - Report: "GRADLE [arguments]: PASS"

   **If build FAILS (exit code non-zero):**
   - Report: "GRADLE [arguments]: FAIL"
   - Extract all errors from the output and include them verbatim

## Output Format

**Success:**
```
GRADLE [arguments]: PASS
```

**Failure:**
```
GRADLE [arguments]: FAIL

[Full verbatim error output from Gradle, without boilerplate suggestions]
```

---
> Source: [johannilsson/sthlmtraveling](https://github.com/johannilsson/sthlmtraveling) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-22 -->

