diff --git a/clikt-mordant-markdown/build.gradle.kts b/clikt-mordant-markdown/build.gradle.kts index c8722829..3ee75aa2 100644 --- a/clikt-mordant-markdown/build.gradle.kts +++ b/clikt-mordant-markdown/build.gradle.kts @@ -1,8 +1,10 @@ +import org.jetbrains.dokka.gradle.DokkaTaskPartial import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") + alias(libs.plugins.publish) } kotlin { @@ -48,3 +50,9 @@ kotlin { } } } + +tasks.withType { + dokkaSourceSets.configureEach { + includes.from("README.md") + } +} diff --git a/test/build.gradle.kts b/test/build.gradle.kts index 0b62eabf..7d638b24 100644 --- a/test/build.gradle.kts +++ b/test/build.gradle.kts @@ -4,7 +4,6 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl plugins { kotlin("multiplatform") - alias(libs.plugins.publish) } kotlin { @@ -51,9 +50,3 @@ kotlin { } } } - -tasks.withType { - dokkaSourceSets.configureEach { - includes.from("README.md") - } -}