Upgrade ErrorProne from 2.4.0 to 2.5.1 (FINERACT-1297)
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
6be352fc74
commit
8bff783c5d
+4
-3
@@ -495,15 +495,15 @@ configure(project.fineractJavaProjects) {
|
||||
// Configuration for the errorprone plugin
|
||||
// https://github.com/tbroyer/gradle-errorprone-plugin
|
||||
dependencies {
|
||||
errorprone "com.google.errorprone:error_prone_core:2.4.0"
|
||||
errorprone "com.google.errorprone:error_prone_core:2.5.1"
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.errorprone {
|
||||
disableWarningsInGeneratedCode = true
|
||||
excludedPaths = ".*/build/.*"
|
||||
//Todo Remove necessary checks from this list
|
||||
disable(
|
||||
// TODO Remove disabled checks from this list, by fixing remaining usages
|
||||
"UnusedVariable",
|
||||
"TypeParameterUnusedInFormals",
|
||||
"JdkObsolete",
|
||||
@@ -513,8 +513,8 @@ configure(project.fineractJavaProjects) {
|
||||
"ReturnFromVoid",
|
||||
"AlmostJavadoc",
|
||||
"InvalidBlockTag",
|
||||
"JavaUtilDate", // TODO FINERACT-1298
|
||||
)
|
||||
//TODO gradually enable these checks
|
||||
error(
|
||||
"DefaultCharset",
|
||||
"RemoveUnusedImports",
|
||||
@@ -586,6 +586,7 @@ configure(project.fineractJavaProjects) {
|
||||
"ModifiedButNotUsed",
|
||||
"InconsistentCapitalization",
|
||||
"MissingOverride",
|
||||
// TODO enable these remaining checks (one by one)
|
||||
// "InvalidBlockTag",
|
||||
// "InconsistentOverloads",
|
||||
// "MethodCanBeStatic",
|
||||
|
||||
Reference in New Issue
Block a user