Update errorprone

This commit is contained in:
Jason Penilla 2021-09-26 19:10:36 -07:00 committed by Jason
parent 8aa81b445e
commit 1b52e8c3bd
6 changed files with 10 additions and 7 deletions

View file

@ -32,7 +32,8 @@ tasks {
"ImmutableEnumChecker",
"StringSplitter",
"EqualsGetClass",
"CatchAndPrintStackTrace"
"CatchAndPrintStackTrace",
"InlineMeSuggester",
)
}
options.compilerArgs.addAll(listOf("-Xlint:-processing", "-Werror"))
@ -89,5 +90,6 @@ dependencies {
compileOnlyApi("org.checkerframework", "checker-qual", Versions.checkerQual)
testImplementation("org.junit.jupiter", "junit-jupiter-engine", Versions.jupiterEngine)
errorprone("com.google.errorprone", "error_prone_core", Versions.errorprone)
compileOnlyApi("com.google.errorprone", "error_prone_annotations", Versions.errorprone)
// Silences compiler warnings from guava using errorprone
compileOnly("com.google.errorprone", "error_prone_annotations", Versions.errorprone)
}