mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-13 06:15:08 +01:00
Suppress deprecation and javadoc warnings by default
This commit is contained in:
parent
84a48adbdd
commit
3f73e31d9e
@ -119,12 +119,16 @@ subprojects {
|
||||
}
|
||||
}
|
||||
|
||||
compileJava {
|
||||
options.compilerArgs.add('-Xlint:-deprecation')
|
||||
}
|
||||
|
||||
javadoc {
|
||||
title = "${project.name} API (v${rootProject.ext.fullVersion})"
|
||||
options.links(
|
||||
'https://hub.spigotmc.org/javadocs/spigot/'
|
||||
)
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
options.addStringOption('-Xdoclint:none', '-quiet')
|
||||
}
|
||||
|
||||
// undo https://github.com/KyoriPowered/indra/blob/master/indra-common/src/main/kotlin/net/kyori/indra/IndraPlugin.kt#L57
|
||||
|
Loading…
Reference in New Issue
Block a user