From 1f38f950ffd879ceaf234c8d9dc733e402451183 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Thu, 9 Dec 2021 02:15:04 -0800 Subject: [PATCH] Fix javadoc task --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 42bbb51..3c3d5be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -42,10 +42,10 @@ val javadoc = tasks.replace("javadoc", Javadoc::class).apply { title = "libsu API" exclude("**/internal/**") (options as StandardJavadocDocletOptions).apply { - links = listOf("https://docs.oracle.com/javase/8/docs/api/") linksOffline = listOf(JavadocOfflineLink( "https://developer.android.com/reference/", rootProject.buildDir.path)) isNoDeprecated = true + addBooleanOption("-ignore-source-errors").value = true } setDestinationDir(File(rootProject.buildDir, "javadoc")) }