Fix JVM compiler args for build speed

This commit is contained in:
Aleksandar Vidakovic
2022-01-02 09:18:20 +08:00
committed by Petri Tuomola
parent b86cb82de8
commit c91113b15a
+4 -8
View File
@@ -412,20 +412,16 @@ configure(project.fineractJavaProjects) {
"-Xlint:varargs",
"-Xlint:preview",
"-Xlint:static",
"-Werror"
]
// TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
options.deprecation = true
options.compilerArgs +=[
"-Werror",
"-Xmaxwarns",
1500,
"-Xmaxerrs",
1500
]
}
// TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
options.deprecation = true
}
dependencies {
spotbugsPlugins 'jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar'