From c91113b15ab6bb86abd77d00cec459499a8f4625 Mon Sep 17 00:00:00 2001 From: Aleksandar Vidakovic Date: Sat, 1 Jan 2022 21:06:06 +0100 Subject: [PATCH] Fix JVM compiler args for build speed --- build.gradle | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 25530a8dd..dfe9cb721 100644 --- a/build.gradle +++ b/build.gradle @@ -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'