aboutsummaryrefslogtreecommitdiff
path: root/integration-tests/gradle/projects/it-basic-groovy/build.gradle
blob: 05b680a15c7ea4d8ee419e967972eca957d69199 (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
33
34
35
36
37
plugins {
    id 'org.jetbrains.kotlin.jvm'
    id("org.jetbrains.dokka")
}

apply from: '../template.root.gradle.kts'

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib"
}

dokkaKdoc {
    outputDirectory = "$buildDir/dokka/customKdoc"

    failOnWarning = false
    dokkaSourceSets {
        customSourceSet {
            sourceRoot { path = "$projectDir/src/main/java" }
            sourceRoot { path = "$projectDir/src/main/kotlin" }
            displayName = "custom"
            reportUndocumented = true
        }
    }
}

dokkaJavadoc {
    outputDirectory = "$buildDir/dokka/customJavadoc"
}

dokkaGfm {
    outputDirectory = "$buildDir/dokka/customGfm"
}

dokkaJekyll {
    outputDirectory = "$buildDir/dokka/customJekyll"
}