bump-gradle

Update a repository's Gradle wrapper using official release notes and validate with a clean build.

2|Updated May 28, 2021
One-click install
npx skills add https://github.com/SpineEventEngine/validation --skill bump-gradle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bump-gradle
Source: https://github.com/SpineEventEngine/validation/tree/main/.agents/skills/bump-gradle
Command: npx skills add https://github.com/SpineEventEngine/validation --skill bump-gradle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents risky or inconsistent Gradle wrapper upgrades by using the official release notes, updating the wrapper correctly, and validating the result with a full build.

Core Features & Use Cases

  • Version-accurate wrapper upgrades: Reads the latest Gradle version and wrapper update instructions from the official Gradle release notes.
  • Deterministic verification: Runs the repository build (clean build) after updating the wrapper.
  • Clean change management: Creates separate commits for wrapper files and for generated dependency reports to keep history reviewable.
  • Version gating: Ensures the project version is bumped via the required /version-bumped step.

Quick Start

Tell the AI: “Use bump-gradle to upgrade this repository to the latest Gradle wrapper version from the official release notes, run the build, and commit the wrapper and dependency reports separately.”

Frequently Asked Questions about bump-gradle

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely upgrade the Gradle wrapper to the latest version without breaking my build?

To safely upgrade the Gradle wrapper, read the official Gradle release notes for the target version, apply the wrapper update command, and run a full clean build to validate the changes before committing.

What is the best way to keep Gradle wrapper upgrade changes reviewable in git history?

The best way to keep Gradle wrapper upgrades reviewable is to restrict staging scopes strictly to wrapper files and generated dependency reports, enforcing at most two authorized commits for the entire change set.

How do I verify a Gradle wrapper update doesn't break existing project dependencies?

You can verify a Gradle wrapper update by running a clean build immediately after updating the wrapper, then regenerating dependency reports to ensure all configurations resolve correctly.

Does upgrading the Gradle wrapper require updating the official release notes manually?

Upgrading the Gradle wrapper does not require manually writing release notes, but the Skill must source the latest Gradle version and the correct upgrade command directly from the official Gradle release notes.

Why do I need to bump the project version when updating the Gradle wrapper?

Bumping the project version when updating the Gradle wrapper is required by the version gating step to ensure the wrapper-only changes and post-upgrade verification are tracked as a distinct, authorized release.