diff options
Diffstat (limited to 'dokka-runners/runner-cli/build.gradle.kts')
-rw-r--r-- | dokka-runners/runner-cli/build.gradle.kts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dokka-runners/runner-cli/build.gradle.kts b/dokka-runners/runner-cli/build.gradle.kts new file mode 100644 index 00000000..c078e22c --- /dev/null +++ b/dokka-runners/runner-cli/build.gradle.kts @@ -0,0 +1,26 @@ +/* + * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. + */ + +import dokkabuild.overridePublicationArtifactId + +plugins { + id("dokkabuild.kotlin-jvm") + id("dokkabuild.publish-shadow") + alias(libs.plugins.kotlinx.binaryCompatibilityValidator) +} + +overridePublicationArtifactId("dokka-cli") + +dependencies { + implementation("org.jetbrains.dokka:dokka-core") + implementation(libs.kotlinx.cli) + + testImplementation(kotlin("test")) +} + +tasks.shadowJar { + manifest { + attributes("Main-Class" to "org.jetbrains.dokka.MainKt") + } +} |