From 6df63f7fc782029c99e9f0c5ac27cef4516b2d91 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Sat, 3 Sep 2022 12:55:55 +0200 Subject: [PATCH] Invoke -parameters on compile time (#3787) chore: Invoke -parameters on compile time --- build.gradle.kts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index d8ea8abc5..d7b946442 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -174,10 +174,7 @@ subprojects { tasks { compileJava { - options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000")) - options.compilerArgs.add("-Xlint:all") - for (disabledLint in arrayOf("processing", "path", "fallthrough", "serial")) - options.compilerArgs.add("-Xlint:$disabledLint") + options.compilerArgs.add("-parameters") options.isDeprecation = true options.encoding = "UTF-8" }