From 16cab8272314dd7f5e70290638f68168501b9525 Mon Sep 17 00:00:00 2001 From: Jason Plumb Date: Tue, 29 Aug 2023 13:52:55 -0700 Subject: [PATCH] suppress missing javadoc warnings --- .../main/kotlin/splunk.android-library-conventions.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildSrc/src/main/kotlin/splunk.android-library-conventions.gradle.kts b/buildSrc/src/main/kotlin/splunk.android-library-conventions.gradle.kts index 03603973..25f3b3b8 100644 --- a/buildSrc/src/main/kotlin/splunk.android-library-conventions.gradle.kts +++ b/buildSrc/src/main/kotlin/splunk.android-library-conventions.gradle.kts @@ -95,6 +95,10 @@ project.afterEvaluate { val javaCompile = firstVariant.javaCompileProvider.get() classpath += javaCompile.classpath classpath += javaCompile.outputs.files + + with(options as StandardJavadocDocletOptions) { + addBooleanOption("Xdoclint:all,-missing", true) + } } val javadocJar by tasks.registering(Jar::class) {