mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-04 23:43:54 +00:00
43 lines
1.1 KiB
Groovy
43 lines
1.1 KiB
Groovy
dokka {
|
|
outputFormat = 'html'
|
|
|
|
switch (true) {
|
|
case project.hasProperty("DOKKA_PATH"):
|
|
outputDirectory = project.property("DOKKA_PATH").toString()
|
|
break
|
|
case System.getenv("DOKKA_PATH") != null:
|
|
outputDirectory = System.getenv("DOKKA_PATH")
|
|
break
|
|
}
|
|
|
|
multiplatform {
|
|
global {
|
|
perPackageOption {
|
|
prefix = "com.insanusmokrassar"
|
|
skipDeprecated = true
|
|
includeNonPublic = true
|
|
reportUndocumented = true
|
|
}
|
|
|
|
sourceLink {
|
|
path = "./"
|
|
url = "https://github.com/InsanusMokrassar/krontab/blob/master/"
|
|
lineSuffix = "#L"
|
|
}
|
|
}
|
|
|
|
common {
|
|
targets = ["JVM", "JS"]
|
|
sourceRoot { path = "src/commonMain" }
|
|
}
|
|
js {
|
|
targets = ["JS"]
|
|
sourceRoot { path = "src/jsMain" }
|
|
}
|
|
jvm {
|
|
targets = ["JVM"]
|
|
sourceRoot { path = "src/jvmMain" }
|
|
}
|
|
}
|
|
}
|