From ff003b2fdcf1a99cb2badf331462a90ef035c2ac Mon Sep 17 00:00:00 2001 From: "Chang Liu (cgliu)" Date: Wed, 14 Apr 2021 21:41:44 -0700 Subject: [PATCH] Exclude Java Doc from Java compilation --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index 249a1e5181..9fefab05c1 100644 --- a/build.gradle +++ b/build.gradle @@ -244,6 +244,8 @@ allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs.remove("-Werror") + options.compilerArgs.remove("-Xdoclint:all") + options.compilerArgs.remove("-Xdoclint:-missing") options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" options.warnings(false) }