From 4f925d96457314bd42157dae8c8c40c5c08eda39 Mon Sep 17 00:00:00 2001 From: Gwen Shapira Date: Mon, 17 Aug 2015 18:05:13 -0700 Subject: [PATCH] KAFKA-2203: Getting Java8 to relax about javadoc and let our build pass --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 983587fd0b760..aee097953d0c3 100644 --- a/build.gradle +++ b/build.gradle @@ -82,6 +82,14 @@ subprojects { sourceCompatibility = 1.7 + if (JavaVersion.current().isJava8Compatible()) { + tasks.withType(Javadoc) { + // disable the crazy super-strict doclint tool in Java 8 + //noinspection SpellCheckingInspection + options.addStringOption('Xdoclint:none', '-quiet') + } + } + uploadArchives { repositories { signing {