chore(deps): update net.ltgt.gradle:gradle-errorprone-plugin to v5 #131
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.0→5.0.0Release Notes
tbroyer/gradle-errorprone-plugin (net.ltgt.gradle:gradle-errorprone-plugin)
v5.0.0isEnabledandisCompilingTestOnlyCodeproperties have been renamed toenabledandcompilingTestOnlyCodein Kotlin DSL, to align with the core Gradle practice of not having suchisprefixes in Kotlin DSL, or different property names between Groovy DSL and Kotlin DSLA note regarding the rewrite to Java, before I get questions about it: as much as I like Kotlin, I'm more familiar with Java tooling (specifically Error Prone and NullAway) and Java compatibility rules, and Android Lint is too heavyweight to my tastes.
v4.4.0Pass
-XDaddTypeAnnotationsToSymbol=true(#132,672a7af)It helps NullAway and has been recommended for some time, and Error Prone 2.46.0 now requires it.
It's only needed/useful/required for JDK 21 but it's harmless to pass it unconditionally to any version of JavaC.
v4.3.0Add support for
-XepAllSuggestionsAsWarnings(a9b6516)v4.2.0Handle configurations more lazily
This is in preparation for Gradle 8.14 which will no longer realize all configurations in the
baseplugin, allowing truly lazily-initialized configurations.This change should allow the
javacConfigurationto only be initialized when JDK 8 is being used, and the variousannotationProcessorconfigurations from source sets to only be initialized when needed, e.g. when a compilation tasks for that source set is run (it's likely that thejavaplugin doesn't yet take advantage of this new possibility itself though)v4.1.0--should-stop=ifError=FLOWto the compiler; it fixes a few issues in all versions of Error Prone, and the next version will make it mandatory (should have been the case in 2.34 already, but didn't actually apply to the JavaC plugin).v4.0.1Only assign
options.isForkif neededThis is a first step in preparation for some changes coming in Gradle 9.
v4.0.0The
errorproneconfiguration can no longer be resolved. It only exists to declare dependencies, i.e. as a dependency scope configuration.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.