aboutsummaryrefslogtreecommitdiff
path: root/runners/cli/build.gradle.kts
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-14 10:06:04 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-14 11:41:31 +0200
commit7ff409fdf621932590dbf0118fff2c73dc76b951 (patch)
treefb120475a8d5ba3860eebaffaca44eb98d0a4bb9 /runners/cli/build.gradle.kts
parent7a8bdee752c25a9cd09f5859b76463bf44c747db (diff)
downloaddokka-7ff409fdf621932590dbf0118fff2c73dc76b951.tar.gz
dokka-7ff409fdf621932590dbf0118fff2c73dc76b951.tar.bz2
dokka-7ff409fdf621932590dbf0118fff2c73dc76b951.zip
Adapt changes from "Simplify publishing configuration and enable sourcejars"
Diffstat (limited to 'runners/cli/build.gradle.kts')
-rw-r--r--runners/cli/build.gradle.kts8
1 files changed, 6 insertions, 2 deletions
diff --git a/runners/cli/build.gradle.kts b/runners/cli/build.gradle.kts
index 19a49346..4ad34192 100644
--- a/runners/cli/build.gradle.kts
+++ b/runners/cli/build.gradle.kts
@@ -1,4 +1,5 @@
-import org.jetbrains.configurePublication
+import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
+import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.github.johnrengelman.shadow")
@@ -26,5 +27,8 @@ tasks {
}
}
-configurePublication("dokka-cli", useShadow = true)
+registerDokkaArtifactPublication("dokkaCli"){
+ artifactId = "dokka-cli"
+ component = Shadow
+}