-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (31 loc) · 1.02 KB
/
build.gradle.kts
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
38
import org.jetbrains.dokka.base.DokkaBase
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.dokka.base.DokkaBaseConfiguration
import org.jetbrains.dokka.gradle.DokkaTaskPartial
plugins {
kotlin("jvm").apply(false)
id("com.vanniktech.maven.publish").apply(false)
id("org.jetbrains.dokka")
}
buildscript {
dependencies {
val dokka_version: String = rootProject.extra["dokka.version"] as String
classpath("org.jetbrains.dokka:dokka-base:$dokka_version")
}
}
val footer_message: String = "© 2024 Talo Halton"
tasks.dokkaHtmlMultiModule {
moduleName.set("KJna")
pluginConfiguration<DokkaBase, DokkaBaseConfiguration> {
footerMessage = footer_message
customStyleSheets = listOf(file("dokka-style.css"))
}
}
allprojects {
tasks.withType<DokkaTaskPartial>().configureEach {
pluginConfiguration<DokkaBase, DokkaBaseConfiguration> {
footerMessage = footer_message
customStyleSheets = listOf(file("dokka-style.css"))
}
}
}