关闭java-8变态的java-doc检查

  • http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html
  • https://github.com/GPars/GPars/blob/master/build.gradle#L268
if (JavaVersion.current().isJava8Compatible()) {
    tasks.withType(Javadoc) {
        // disable the crazy super-strict doclint tool in Java 8
        //noinspection SpellCheckingInspection
        options.addStringOption('Xdoclint:none', '-quiet')
    }
}

你可能感兴趣的:(gradle,java8,jdk8,javadoc,自包含标签)