🎯

gradle-9

🎯Skill

from bitsoex/bitso-java

VibeIndex|
What it does

Upgrades Gradle projects from version 8.x to 9.x, ensuring plugin compatibility and supporting Java 25 migration.

gradle-9

Installation

Install skill:
npx skills add https://github.com/bitsoex/bitso-java --skill gradle-9
5
AddedJan 27, 2026

Skill Details

SKILL.md

>

Overview

# Gradle 9 Upgrade

Upgrade from Gradle 8.x to Gradle 9.x with all required plugin updates.

When to Use

  • Recommended for all projects - Gradle 9.2.1 is now the standard
  • Upgrading to Java 25 (requires Gradle 9.x)
  • Need Gradle 9 features
  • Current Gradle 8.x plugins are deprecated

Skill Contents

Sections

  • [When to Use](#when-to-use) (L22-L28)
  • [Target Versions](#target-versions) (L48-L60)
  • [Quick Start](#quick-start) (L61-L107)
  • [References](#references) (L108-L113)
  • [Plugin Migration Details](#plugin-migration-details) (L114-L155)
  • [Related Skills](#related-skills) (L156-L160)
  • [Related Commands](#related-commands) (L161-L167)

Available Resources

πŸ“š references/ - Detailed documentation

  • [plugin compatibility](references/plugin-compatibility.md)

---

Target Versions

| Component | Gradle 8.x | Gradle 9.x | Notes |

|-----------|------------|------------|-------|

| Gradle | 8.14.3 | 9.2.1 | Recommended for all projects |

| Lombok Plugin | 8.14.2 | 9.2.0 | Freefair for Gradle 9.2.1 |

| Spotless | 6.x | 8.1.0 | Major bump |

| SonarQube | 6.x | 7.2.2.6593 | Major bump |

| Develocity | 0.1.x | 0.2.8 | Compatibility |

| Flyway | 10.x | 11.19.0 | If used |

| jOOQ | 9.x | 10.1.1 | If used |

| Protobuf | 0.9.x | 0.9.6 | Gradle 9 compatible |

Quick Start

1. Update Gradle Wrapper

```bash

./gradlew wrapper --gradle-version=9.2.1

```

2. Update Plugin Versions

```toml

# gradle/libs.versions.toml

[plugins]

lombok = "io.freefair.lombok:9.2.0"

spotless = "com.diffplug.spotless:8.1.0"

sonarqube = "org.sonarqube:7.2.2.6593"

protobuf = "com.google.protobuf:0.9.6"

```

```groovy

// settings.gradle

plugins {

id 'bitso.develocity' version "${develocityPluginVersion}" // 0.2.8

id 'org.sonarqube' version "${sonarqubePluginVersion}" // 7.2.2.6593

}

```

3. Add JUnit Platform Launcher

Required for JUnit 5.11+ with Gradle 9:

```groovy

subprojects {

plugins.withType(JavaPlugin).configureEach {

dependencies {

testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

}

}

}

```

4. Validate

```bash

./gradlew clean build test

```

References

| Reference | Content |

|-----------|---------|

| [references/plugin-compatibility.md](references/plugin-compatibility.md) | Plugin version mappings and known issues |

Plugin Migration Details

Lombok Plugin (Freefair)

```toml

# Old (Gradle 8.x)

lombok = "io.freefair.lombok:8.14.2"

# New (Gradle 9.x)

lombok = "io.freefair.lombok:9.2.0"

```

Requires Lombok 1.18.42 for Java 25 bytecode support:

```groovy

lombok {

version = libs.versions.lombok.get() // 1.18.42

}

```

Spotless

```toml

# Old (Gradle 8.x)

spotless = "com.diffplug.spotless:6.x"

# New (Gradle 9.x)

spotless = "com.diffplug.spotless:8.1.0"

```

For Java 25 formatting, use palantir-java-format 2.74.0.

SonarQube

```toml

# Old (Gradle 8.x)

sonarqube = "org.sonarqube:6.x"

# New (Gradle 9.x)

sonarqube = "org.sonarqube:7.2.2.6593"

```

Related Skills

  • spring-boot-3-5 - Upgrade Spring Boot first
  • java-25 - Java 25 requires Gradle 9

Related Commands

This skill is referenced by:

  • [/prepare-to-gradle-9](../../commands/prepare-to-gradle-9.md) - Prepare for Gradle 9 upgrade
  • [/prepare-to-java-25](../../commands/prepare-to-java-25.md) - Java 25 preparation (requires Gradle 9)

More from this repository10

🎯
mcp-configuration🎯Skill

Configures and manages MCP (Model Context Protocol) server settings across multiple IDEs for seamless integration and development workflow.

🎯
rest-api🎯Skill

Standardizes REST API development in Java Spring by providing authentication, OpenAPI documentation, and RFC-37 service guidelines.

🎯
database-integration🎯Skill

Streamlines PostgreSQL database integration in Java projects by configuring jOOQ code generation, Flyway migrations, and version compatibility.

🎯
doc-sync🎯Skill

doc-sync skill from bitsoex/bitso-java

🎯
git-hooks🎯Skill

Manages and standardizes Git hooks across repositories, ensuring consistent code quality checks and team-wide hook compliance automatically.

🎯
sonarqube-integration🎯Skill

Integrates SonarQube with MCP to enable natural language querying of Java code quality issues, analysis, and quality gate checks.

🎯
gradle-standards🎯Skill

Centralizes and standardizes Gradle build configurations for Java projects, managing dependencies, version catalogs, and multi-module setups efficiently.

🎯
dependabot-security🎯Skill

Automates resolution of Dependabot security vulnerabilities in Java/Gradle projects using severity-based processing and dependency verification.

🎯
structured-logging🎯Skill

Implements RFC-34 structured logging standards for Java services, enabling JSON-formatted logs with required fields and contextual metadata.

🎯
rfc-37-documentation🎯Skill

Validates and standardizes markdown documentation for Confluence mirroring using bitso-documentation-linter, ensuring RFC-37 compliance across service repositories.