Suppress deprecation and javadoc warnings by default

This commit is contained in:
MD 2020-11-26 01:12:58 +00:00
parent 84a48adbdd
commit 3f73e31d9e

View File

@ -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