mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-27 01:40:48 +08: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 {
|
javadoc {
|
||||||
title = "${project.name} API (v${rootProject.ext.fullVersion})"
|
title = "${project.name} API (v${rootProject.ext.fullVersion})"
|
||||||
options.links(
|
options.links(
|
||||||
'https://hub.spigotmc.org/javadocs/spigot/'
|
'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
|
// 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