build-tools-bump-gradle-api
Skill by JetBrains
Bumps the Gradle API version that Kotlin Gradle plugins compile against in the Kotlin compiler repository. It covers the constant change, metadata regeneration, compilation and functional tests. Written for Kotlin contributors who need to support a new Gradle version.
Install build-tools-bump-gradle-api
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JetBrains/kotlin /tmp/kotlin && mkdir -p ~/.claude/skills && cp -r /tmp/kotlin/.claude/skills/build-tools-bump-gradle-api ~/.claude/skills/build-tools-bump-gradle-apiRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install build-tools-bump-gradle-api in Claude Code
git clone --depth 1 https://github.com/JetBrains/kotlin /tmp/kotlin && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kotlin/.claude/skills/build-tools-bump-gradle-api ~/.gemini/antigravity-cli/skills/build-tools-bump-gradle-apiAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install build-tools-bump-gradle-api in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an assistant through bumping GRADLE_COMMON_COMPILE_API_VERSION in the Kotlin compiler repository. That constant sets the Gradle API version that the Kotlin Gradle plugins' common source set is compiled against. The skill asks for the target version if the user has not given one, then edits the constant with a patch tool.
It then regenerates gradle/verification-metadata.xml using the repository script, compiles kotlin-gradle-plugin, and runs the functionalTest task. It tells the assistant to fix compilation errors and test failures, and to use JetBrains MCP tools for file operations instead of standard tools. It is written for developers who maintain the Kotlin Gradle plugin and need to support a new Gradle version.
Written from the project's SKILL.md and checked against it.
What it can do
- Confirm target versionReads the current GRADLE_COMMON_COMPILE_API_VERSION value and asks for the target version if none is given.
- Update constantChanges GRADLE_COMMON_COMPILE_API_VERSION in GradlePluginVariant.kt using mcp__idea__apply_patch.
- Regenerate verification metadataRuns scripts/update-verification-metadata.sh to record new artifact checksums in verification-metadata.xml.
- Compile and fix errorsCompiles kotlin-gradle-plugin and guides fixes for API changes, such as removed internal classes.
- Run functional testsRuns the functionalTest task and helps fix failing tests in the functional test sources.
- Check file problemsUses mcp__idea__get_file_problems on changed files to find warnings related to the bump.
What you need
- JetBrains MCP tools (mcp__idea__*)
- Kotlin compiler repository checkout
- Gradle wrapper (./gradlew)
- Shell to run the verification metadata script
Try asking
- Bump GRADLE_COMMON_COMPILE_API_VERSION to Gradle X.Y.Z
- Update KGP to compile against Gradle X.Y.Z and fix compile errors
- Regenerate verification-metadata.xml after the Gradle API bump
Good to know
- Built for the Kotlin compiler repository paths and layout
- The regeneration script can take several minutes
- Manual fallback commands are shown for Linux only
- Expects JetBrains MCP tools instead of standard file tools
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/build-tools-bump-gradle-api/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to build-tools-bump-gradle-api
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
build-tools-bump-gradle-api: common questions
What does this skill change in the repository?
It changes the GRADLE_COMMON_COMPILE_API_VERSION constant in GradlePluginVariant.kt and regenerates gradle/verification-metadata.xml. It also fixes any compile or test errors the bump causes.
What happens to local.properties during the bump?
If it contains kotlin.native.enabled=false, the skill comments that line out for the regeneration step. It restores the line afterwards.
What if the metadata script is missing or fails?
The skill falls back to manual sed and Gradle commands listed in ReadMe.md. These remove the components section and rerun the verification metadata write.
How do I install build-tools-bump-gradle-api?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is build-tools-bump-gradle-api free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is build-tools-bump-gradle-api safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to build-tools-bump-gradle-api?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
