Skip to content

Instantly share code, notes, and snippets.

@tomichj
Forked from mashimom/javadoc_doclint-less
Created May 5, 2017 22:46
Show Gist options
  • Save tomichj/4a0fe7e9bd1fb7ba5fd2749e6765171b to your computer and use it in GitHub Desktop.
Save tomichj/4a0fe7e9bd1fb7ba5fd2749e6765171b to your computer and use it in GitHub Desktop.
Deactivate Javadoc's 8 doclint on gradle builds (as found on http://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')
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment