aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic/build.gradle.kts
blob: b3ddde183c0d334dcac94890b8a12810e09be6e9 (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
import org.jetbrains.dokka.gradle.DokkaTask

plugins {
    kotlin("jvm")
    id("org.jetbrains.dokka")
}

apply(from = "../template.root.gradle.kts")

dependencies {
    implementation(kotlin("stdlib"))
}

tasks.withType<DokkaTask> {
    dokkaSourceSets {
        configureEach {
            moduleDisplayName = "Basic Project"
            suppressedFiles = listOf("src/main/kotlin/it/suppressedByPath")
            perPackageOption {
                prefix = "it.suppressedByPackage"
                suppress = true
            }
        }
    }
}