update kdocs script

This commit is contained in:
InsanusMokrassar 2021-08-07 16:25:35 +06:00
parent 2a16f3c588
commit b66284b6e5

View File

@ -19,10 +19,10 @@ dokkaHtml {
dokkaSourceSets { dokkaSourceSets {
switch (true) { switch (true) {
case project.hasProperty("DOKKA_PATH"): case project.hasProperty("DOKKA_PATH"):
outputDirectory = project.property("DOKKA_PATH").toString() outputDirectory = new File(project.property("DOKKA_PATH").toString())
break break
case System.getenv("DOKKA_PATH") != null: case System.getenv("DOKKA_PATH") != null:
outputDirectory = System.getenv("DOKKA_PATH") outputDirectory = new File(System.getenv("DOKKA_PATH"))
break break
} }