aboutsummaryrefslogtreecommitdiff
path: root/examples/gradle/dokka-multimodule-example/parentProject/childProjectB/build.gradle.kts
blob: e8b40d4ae48e39a13398b6cd34e6b6580d4b89e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.jetbrains.dokka.gradle.DokkaTaskPartial

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

// configuration specific to this subproject.
// notice the use of Partial task
tasks.withType<DokkaTaskPartial>().configureEach {
    dokkaSourceSets {
        configureEach {
            includes.from("ModuleB.md")
        }
    }
}