Skip to content

Gradle/Groovy code quality improvements - #4367

Merged
robert-brunel merged 1 commit into
FoundationDB:mainfrom
robert-brunel:groovy
Jul 21, 2026
Merged

robert-brunel merged 1 commit into
FoundationDB:mainfrom
robert-brunel:groovy

Conversation

@robert-brunel

Copy link
Copy Markdown
Contributor
  • Address a batch of Gradle and Groovy issues raised by IntelliJs "Gradle" code inspection, such as: return-value ambiguities, null-safety issues, deprecated Gradle APIs, and various style nits.
  • Remove the cross-file ext property used to smuggle the SpotBugsTask class between build scripts. Instead, resolve it directly from the plugins classloader where it is needed.
  • In some places we can add explicit types to variables to help the code analyzer (and human readers).

@robert-brunel robert-brunel self-assigned this Jul 17, 2026
@robert-brunel robert-brunel added the build improvement Improvement to the build system label Jul 17, 2026
@robert-brunel
robert-brunel marked this pull request as ready for review July 17, 2026 16:54
* Address a batch of Gradle and Groovy issues raised by IntelliJs "Gradle" code inspection, such as: return-value ambiguities, null-safety issues, deprecated Gradle APIs, and various style nits.
* Remove the cross-file ext property used to smuggle the `SpotBugsTask` class between build scripts. Instead, resolve it directly from the plugins classloader where it is needed.
* In some places we can add explicit types to variables to help the code analyzer (and human readers).
@robert-brunel
robert-brunel merged commit 02fa096 into FoundationDB:main Jul 21, 2026
14 checks passed
@robert-brunel
robert-brunel deleted the groovy branch July 21, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build improvement Improvement to the build system

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants