Disable DocLint for now
Too strict, causing too many errors
This commit is contained in:
parent
6701ac8095
commit
a19eb278c7
1 changed files with 10 additions and 0 deletions
10
build.gradle
10
build.gradle
|
@ -32,6 +32,16 @@ version = new Date().format("yyyyMMdd")
|
||||||
tasks.build.dependsOn javadoc, 'jsdoc', 'generateLicenseReport'
|
tasks.build.dependsOn javadoc, 'jsdoc', 'generateLicenseReport'
|
||||||
tasks.compileJava.dependsOn 'processSource'
|
tasks.compileJava.dependsOn 'processSource'
|
||||||
|
|
||||||
|
// Disable DocLint for now
|
||||||
|
// See <https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html>
|
||||||
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
|
allprojects {
|
||||||
|
tasks.withType(Javadoc) {
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
main {
|
main {
|
||||||
java {
|
java {
|
||||||
|
|
Loading…
Add table
Reference in a new issue