From d7bb746c47d1c66b1dfa24be5702c54fcb494952 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Thu, 14 Mar 2024 12:37:38 +0100 Subject: [PATCH] Configure 'javadoc' task Signed-off-by: Jendrik Johannes --- .../main/kotlin/com.hedera.gradlebuild.java.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gradle/plugins/src/main/kotlin/com.hedera.gradlebuild.java.gradle.kts b/gradle/plugins/src/main/kotlin/com.hedera.gradlebuild.java.gradle.kts index 71f33b53d..75f6089c4 100644 --- a/gradle/plugins/src/main/kotlin/com.hedera.gradlebuild.java.gradle.kts +++ b/gradle/plugins/src/main/kotlin/com.hedera.gradlebuild.java.gradle.kts @@ -57,6 +57,15 @@ tasks.withType().configureEach { systemProperty("HEDERA_NETWORK", providers.gradleProperty("HEDERA_NETWORK").getOrElse("")) } +tasks.withType().configureEach { + options { + this as StandardJavadocDocletOptions + encoding = "UTF-8" + addStringOption("Xdoclint:all,-missing", "-quiet") + addStringOption("Xwerror", "-quiet") + } +} + tasks.jacocoTestReport { // make sure to use any/all test coverage data for the report and run all tests before this report is made executionData.from(