Fix JVM compiler args for build speed
This commit is contained in:
committed by
Petri Tuomola
parent
b86cb82de8
commit
c91113b15a
+4
-8
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user