1
0
mirror of https://github.com/google/nomulus synced 2026-05-13 19:31:46 +00:00

Add Errorprone plugin for removing FQCNs (#3021)

These annoy me and AI loves to add them. Let's automatically remove them.
This commit is contained in:
gbrodman
2026-04-23 16:17:19 -04:00
committed by GitHub
parent 925482ea58
commit 903414c76b
19 changed files with 67 additions and 67 deletions

View File

@@ -133,6 +133,9 @@ tasks.withType(JavaCompile).configureEach {
// Allow assignment to injected variables: too many to fix.
options.errorprone.disable("UnnecessaryAssignment")
// Report unnecessarily fully qualified names as warnings.
options.errorprone.warn("UnnecessarilyFullyQualified")
options.errorprone.disableWarningsInGeneratedCode = true
options.errorprone.errorproneArgumentProviders.add([
asArguments: {