From 99d86e6f5100dd8f3e01ec27daa2501b61303e2f Mon Sep 17 00:00:00 2001 From: Ruben Taelman Date: Sat, 12 Oct 2024 09:41:14 +0200 Subject: [PATCH] Mute javadoc warnings in common build --- buildSrc/src/main/groovy/multiloader-common.gradle | 5 +++++ buildSrc/src/main/groovy/multiloader-loader.gradle | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildSrc/src/main/groovy/multiloader-common.gradle b/buildSrc/src/main/groovy/multiloader-common.gradle index e30e1486..78885d89 100644 --- a/buildSrc/src/main/groovy/multiloader-common.gradle +++ b/buildSrc/src/main/groovy/multiloader-common.gradle @@ -297,3 +297,8 @@ jacocoTestReport { html.required = true } } + +javadoc { + // prevent java 8's strict doclint for javadocs from failing builds + options.addStringOption('Xdoclint:accessibility,html,reference,syntax', '-quiet') +} diff --git a/buildSrc/src/main/groovy/multiloader-loader.gradle b/buildSrc/src/main/groovy/multiloader-loader.gradle index 3f312318..fa6f0e75 100644 --- a/buildSrc/src/main/groovy/multiloader-loader.gradle +++ b/buildSrc/src/main/groovy/multiloader-loader.gradle @@ -40,11 +40,6 @@ tasks.named('javadoc', Javadoc).configure { source(configurations.commonJava) } -javadoc { - // prevent java 8's strict doclint for javadocs from failing builds - options.addStringOption('Xdoclint:accessibility,html,reference,syntax', '-quiet') -} - tasks.named('sourcesJar', Jar) { dependsOn(configurations.commonJava) from(configurations.commonJava)