krontab/dokka.gradle

43 lines
1.1 KiB
Groovy
Raw Normal View History

2020-06-03 14:10:06 +00:00
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 {
2020-06-03 15:07:10 +00:00
perPackageOption {
2020-11-21 09:00:30 +00:00
prefix = "dev.inmo"
2020-06-03 15:07:10 +00:00
skipDeprecated = true
includeNonPublic = true
reportUndocumented = true
}
2020-06-03 14:10:06 +00:00
sourceLink {
path = "./"
url = "https://github.com/InsanusMokrassar/krontab/blob/master/"
lineSuffix = "#L"
}
}
2020-06-03 15:07:10 +00:00
common {
targets = ["JVM", "JS"]
sourceRoot { path = "src/commonMain" }
}
js {
targets = ["JS"]
sourceRoot { path = "src/jsMain" }
}
jvm {
targets = ["JVM"]
sourceRoot { path = "src/jvmMain" }
}
2020-06-03 14:10:06 +00:00
}
}