1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

update dokka

This commit is contained in:
InsanusMokrassar 2021-03-16 23:01:26 +06:00
parent 6dd27cb0bf
commit dbdd9b5ad2

View File

@ -56,7 +56,7 @@ private List<SourceDirectorySet> findSourcesWithName(String... approximateNames)
}.collect { it.kotlin }
}
tasks.dokkaHtml {
Object callback = {
switch (true) {
case project.hasProperty("DOKKA_PATH"):
outputDirectory = project.property("DOKKA_PATH").toString()
@ -90,3 +90,6 @@ tasks.dokkaHtml {
}
}
}
tasks.dokkaGfm(callback)
tasks.dokkaHtml(callback)