From 3de24205e52d75c51d7111512a88b3ed63014522 Mon Sep 17 00:00:00 2001 From: Alessandro Date: Sun, 21 Jan 2024 00:12:21 -0700 Subject: [PATCH] fix dokka weirdness --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3ab634b..e1b89ca 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import org.jetbrains.dokka.gradle.AbstractDokkaLeafTask plugins { - kotlin("jvm") version Versions.kotlin apply false +// kotlin("jvm") version Versions.kotlin apply false id("com.android.library") version Versions.android apply false id("org.jetbrains.kotlin.android") version Versions.kotlin apply false id("org.jetbrains.dokka") version Versions.dokka @@ -61,7 +61,7 @@ subprojects.forEach { suppressInheritedMembers.set(true) dokkaSourceSets { configureEach { - if (name == "main") { + if (name in listOf("main", "commonMain", "jvmMain")) { includes.from("module.md") reportUndocumented.set(true) documentedVisibilities.set(