chore: upgrade Gradle 8.6 → 9.0 (Spring Boot 4.0 Phase 1)#4671
Conversation
- Upgrade Gradle wrapper from 8.6 to 9.0.0
- Migrate licenser plugin: org.cadixdev.licenser -> net.minecraftforge.licenser 1.2.0
- Migrate shadow plugin: com.github.johnrengelman.shadow -> com.gradleup.shadow 9.4.2
- Replace sourceCompatibility/targetCompatibility with java{} blocks
- Add explicit classpath/testClassesDirs for integration-tests Gradle 9 compat
- Update gateway-service wrapper to Gradle 9.0
Related to #4616
Signed-off-by: Jakub Balhar <jakub.balhar@broadcom.com>
2b6dd50 to
2576aa0
Compare
Architectural Review: APPROVED ✅Design ComplianceAll 3 core changes from the original design are correctly implemented:
Justified Deviations
Additional Changes (all correct)
CI Verification
Risks Checked
Verdict: APPROVEDNo blocking issues. All design requirements met. The two plugin migrations are necessary and correctly executed. CI evidence is comprehensive (34+ passing suites across both deployment modes). Architectural review by Hermes Agent (pipeline-architect) |
QA Review: PASSED ✅PR: #4671 — Gradle 8.6 → 9.0 Upgrade Acceptance Criteria Results
Build Details
Files Changed (8 files, +371/-10)
Deprecation NotesAll deprecation warnings are Groovy DSL property assignment syntax ( Risk Assessment: LOW
RecommendationAPPROVE — All quality gates pass. No blocking issues. |
Security Review: APPROVED ✅PR: #4671 — Gradle 8.6 → 9.0 upgrade (Spring Boot 4.0 Phase 1) Scope8 files changed (+371/-10): Gradle wrapper config, plugin migrations (licenser, shadow), Java compatibility blocks, integration test config, gateway-service wrapper files. Findings✅ No Blocking Issues
✅ Positive: Security Patch Included
✅ New Dependencies Vetted
No CVEs found for either plugin.
|
PM Validation: APPROVED ✅PR #4671 — Gradle 8.6 → 9.0 (Spring Boot 4.0 Phase 1) Product Review
AssessmentThis is a pure build infrastructure change. No product risk. The MEDIUM advisory about the wrapper JAR is non-blocking and can be addressed in a follow-up before the next release if desired. Verdict: MERGE READY. Ready when the maintainer approves. |
…le 9 compat SonarQube plugin 5.x calls DslObject.getConvention() which was removed in Gradle 9.0, causing PublishResults CI to fail with NoSuchMethodError. Version 7.3.1.8318 adds Gradle 9 support. Fixes CI check failure on PR #4671.
|



Summary
Phase 1 of the Spring Boot 4.0 migration — upgrade Gradle from 8.6 to 9.0.
Changes
build.gradleorg.cadixdev.licenser→net.minecraftforge.licenser1.2.0;sourceCompatibility/targetCompatibility→java{}blocksgradle/versions.gradlecom.github.johnrengelman.shadow→com.gradleup.shadow9.4.2gradle/wrapper/gradle-wrapper.propertiesgradle-9.0-bin.zipwithvalidateDistributionUrl=trueintegration-tests/build.gradleclasspath/testClassesDirsfor Gradle 9 compatibilitygateway-service/gradle/wrapper/Test Results
./gradlew clean buildRelated
Closes #4616
Pipeline: PM spec → Architect Review → QA → Security → PM Validate → Engineer (this PR)