aboutsummaryrefslogtreecommitdiff
path: root/dokka-runners/runner-cli/build.gradle.kts
blob: c078e22c9d90e258541373d9ed8cd8386daa43a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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")
    }
}