Invoke -parameters on compile time (#3787)

chore: Invoke -parameters on compile time
This commit is contained in:
Alexander Brandes 2022-09-03 12:55:55 +02:00 committed by GitHub
parent 295b8a0135
commit 6df63f7fc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,10 +174,7 @@ subprojects {
tasks { tasks {
compileJava { compileJava {
options.compilerArgs.addAll(arrayOf("-Xmaxerrs", "1000")) options.compilerArgs.add("-parameters")
options.compilerArgs.add("-Xlint:all")
for (disabledLint in arrayOf("processing", "path", "fallthrough", "serial"))
options.compilerArgs.add("-Xlint:$disabledLint")
options.isDeprecation = true options.isDeprecation = true
options.encoding = "UTF-8" options.encoding = "UTF-8"
} }