Fix javadoc task

This commit is contained in:
Kneelawk 2024-04-22 23:25:56 -07:00 committed by Jozufozu
parent 0d53857f10
commit ebb5b08873

View file

@ -49,6 +49,7 @@ tasks.named('javadoc', Javadoc).configure { Javadoc javadoc ->
javadoc.source sourceSets.main.allJava
// prevent java 8's strict doclint for javadocs from failing builds
javadoc.options.addStringOption('Xdoclint:none', '-quiet')
javadoc.options.encoding = 'UTF-8'
}
static void addLicense(Jar jarTask) {