From 96f3e90f90ed87be6b4a8344fab5a4c8002d82d3 Mon Sep 17 00:00:00 2001 From: AJ Date: Sun, 15 Sep 2024 11:55:14 -0700 Subject: [PATCH] Add clikt-markdown to published modules --- clikt-mordant-markdown/build.gradle.kts | 8 ++++++++ test/build.gradle.kts | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) 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") - } -}