xiaohongshu
xiaohongshu
gradle-9
Upgrade from Gradle 8.x to Gradle 9.x with plugin compatibility updates. Required for Java 25 support. Includes plugin version mappings and migration patterns.
Full skill instructions
Upgrade from Gradle 8.x to Gradle 9.x with all required plugin updates.
📚 references/ - Detailed documentation
| 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 |
./gradlew wrapper --gradle-version=9.2.1
# 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"
// settings.gradle
plugins {
id 'bitso.develocity' version "${develocityPluginVersion}" // 0.2.8
id 'org.sonarqube' version "${sonarqubePluginVersion}" // 7.2.2.6593
}
Required for JUnit 5.11+ with Gradle 9:
subprojects {
plugins.withType(JavaPlugin).configureEach {
dependencies {
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
}
}
./gradlew clean build test
| Reference | Content |
|---|---|
| references/plugin-compatibility.md | Plugin version mappings and known issues |
# 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:
lombok {
version = libs.versions.lombok.get() // 1.18.42
}
# 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.
# Old (Gradle 8.x)
sonarqube = "org.sonarqube:6.x"
# New (Gradle 9.x)
sonarqube = "org.sonarqube:7.2.2.6593"
spring-boot-3-5 - Upgrade Spring Boot firstjava-25 - Java 25 requires Gradle 9xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience