Repository: kafka Updated Branches: refs/heads/trunk 9fde92f9f -> 7915396ee
KAFKA-2203: Getting Java8 to relax about javadoc and let our build pass This patch is different than the one attached to the JIRA - I'm applying the new javadoc rules to all subprojects while the one in the JIRA applies only to "clients". We need this since Copycat has the same issues. Author: Gwen Shapira <[email protected]> Reviewers: Ismael Juma, Guozhang Wang Closes #147 from gwenshap/KAFKA-2203 Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/7915396e Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/7915396e Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/7915396e Branch: refs/heads/trunk Commit: 7915396ee891759200cb3d89bbcf3b84bf20ed6a Parents: 9fde92f Author: Gwen Shapira <[email protected]> Authored: Mon Oct 12 13:36:19 2015 -0700 Committer: Guozhang Wang <[email protected]> Committed: Mon Oct 12 13:36:19 2015 -0700 ---------------------------------------------------------------------- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/7915396e/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 313d229..51d4a78 100644 --- a/build.gradle +++ b/build.gradle @@ -83,6 +83,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 {
