From 67d81fa126a3348c640f697c9026e4a7b1e23e22 Mon Sep 17 00:00:00 2001 From: stephengold Date: Wed, 12 Jun 2024 18:09:03 -0700 Subject: [PATCH] suppress doclint warnings --- common.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common.gradle b/common.gradle index 5ce04983..e212070b 100644 --- a/common.gradle +++ b/common.gradle @@ -8,6 +8,13 @@ java { targetCompatibility = JavaVersion.VERSION_1_8 } +javadoc { + // Disable doclint for JDK15+ to avoid "no comment" warnings. + if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_15)) { + options.addStringOption('Xdoclint:none', '-quiet') + } +} + checkstyle { toolVersion libs.versions.checkstyle.get() }