From 76e761fcf353994ac89d7dae03cbfce5eeaf9c68 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Mon, 29 Aug 2022 17:18:54 +0200 Subject: [PATCH] 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" }