You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by pt...@apache.org on 2022/01/02 01:18:30 UTC

[fineract] branch develop updated: Fix JVM compiler args for build speed

This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new c91113b  Fix JVM compiler args for build speed
c91113b is described below

commit c91113b15ab6bb86abd77d00cec459499a8f4625
Author: Aleksandar Vidakovic <ch...@monkeysintown.com>
AuthorDate: Sat Jan 1 21:06:06 2022 +0100

    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 25530a8..dfe9cb7 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'