blob: 1840ba94fb5bc0494e3deee5a35658ed49e23bc2 (
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
27
28
29
30
31
32
|
import org.jetbrains.dokka.gradle.DokkaTask
plugins {
kotlin("jvm")
id("org.jetbrains.dokka")
}
apply(from = "../template.root.gradle.kts")
dependencies {
implementation(kotlin("stdlib"))
testImplementation(kotlin("test-junit"))
}
tasks.withType<DokkaTask> {
dokkaSourceSets {
configureEach {
moduleDisplayName.set("Basic Project")
suppressedFiles.from(file("src/main/kotlin/it/suppressedByPath"))
perPackageOption {
prefix.set("it.suppressedByPackage")
suppress.set(true)
}
}
register("myTest") {
kotlinSourceSet(kotlin.sourceSets["test"])
}
}
}
buildDir.resolve("")
|