Skip to content

Instantly share code, notes, and snippets.

@mashimom
Created March 27, 2015 18:45
Show Gist options
  • Save mashimom/891a55878eda510d316e to your computer and use it in GitHub Desktop.
Save mashimom/891a55878eda510d316e 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