mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 12:46:46 +01:00
Invoke -parameters on compile time (#3787)
chore: Invoke -parameters on compile time
This commit is contained in:
parent
295b8a0135
commit
6df63f7fc7
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user