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:varargs",
|
||||||
"-Xlint:preview",
|
"-Xlint:preview",
|
||||||
"-Xlint:static",
|
"-Xlint:static",
|
||||||
"-Werror"
|
"-Werror",
|
||||||
]
|
|
||||||
// TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
|
|
||||||
|
|
||||||
options.deprecation = true
|
|
||||||
|
|
||||||
options.compilerArgs +=[
|
|
||||||
"-Xmaxwarns",
|
"-Xmaxwarns",
|
||||||
1500,
|
1500,
|
||||||
"-Xmaxerrs",
|
"-Xmaxerrs",
|
||||||
1500
|
1500
|
||||||
]
|
]
|
||||||
}
|
// TODO FINERACT-959 (gradually) enable -Xlint:all (see "javac -help -X")
|
||||||
|
|
||||||
|
options.deprecation = true
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
spotbugsPlugins 'jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar'
|
spotbugsPlugins 'jp.skypencil.findbugs.slf4j:bug-pattern:1.5.0@jar'
|
||||||
|
|||||||
Reference in New Issue
Block a user