Skip to content

BAU: Upgrade Gradle to 9.5.0#8337

Open
alhcomer wants to merge 5 commits into
mainfrom
BAU/upgrade-gradle-to-9.5.0
Open

BAU: Upgrade Gradle to 9.5.0#8337
alhcomer wants to merge 5 commits into
mainfrom
BAU/upgrade-gradle-to-9.5.0

Conversation

@alhcomer
Copy link
Copy Markdown
Contributor

What

  • Replace project.buildDir with layout.buildDirectory API (removed in Gradle 9)
  • Replace project.exec with injected ExecOperations in Terraform task (removed in Gradle 9)
  • Replace VersionNumber and resolvedConfiguration.lenientConfiguration in searchForDependency task (removed in Gradle 9)
  • Update SpotBugs plugin 6.4.8 → 6.5.0
  • Update docker-compose plugin 0.17.12 → 0.17.21
  • Update Pact plugin 4.6.18 → 4.7.0
  • Upgrade Gradle wrapper 8.14.3 → 9.5.0

How to review

  1. Code Review
  2. Check CI passes

@alhcomer alhcomer requested review from a team as code owners May 15, 2026 19:27
@alhcomer alhcomer force-pushed the BAU/upgrade-gradle-to-9.5.0 branch 2 times, most recently from 2577bfc to 760cdf7 Compare May 15, 2026 19:50
- project.buildDir is removed in Gradle 9
- Replace all usages with layout.buildDirectory across
  the root build.gradle and pact subproject build files

See: https://docs.gradle.org/9.5.0/userguide/upgrading_version_8.html#project_builddir
@alhcomer alhcomer force-pushed the BAU/upgrade-gradle-to-9.5.0 branch 3 times, most recently from fcf37b2 to 01f40cb Compare May 15, 2026 20:05
alhcomer added 4 commits May 15, 2026 21:53
- Project#exec is removed in Gradle 9
- Inject ExecOperations via @Inject into the Terraform
  task class and use it for all exec calls

See: https://docs.gradle.org/9.5.0/userguide/upgrading_version_8.html#deprecated_project_exec
- SpotBugs: 6.4.8 → 6.5.0
- docker-compose: 0.17.12 → 0.17.21
- Pact: 4.6.18 → 4.7.0 (with library 4.6.20 → 4.7.0)
- Add testClassesDirs/classpath to custom Test tasks for Gradle 9

See: https://docs.gradle.org/9.5.0/userguide/upgrading_version_8.html#relying_on_conventions_for_custom_test_tasks
- Upgrade from Gradle 8.14.3 to 9.5.0
- Add jackson-core buildscript constraint for GHSA-72hv-8253-57qq
- All deprecated API usages fixed in prior commits

See: https://docs.gradle.org/9.5.0/userguide/upgrading_version_8.html
@alhcomer alhcomer force-pushed the BAU/upgrade-gradle-to-9.5.0 branch from 01f40cb to 6397f26 Compare May 15, 2026 20:54
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant