Skip to content

Commit

Permalink
read dokka template dir from command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlauvlwj committed Aug 18, 2024
1 parent 344bcd3 commit d7e7e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

tasks.named<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaHtmlMultiModule") {
val tmplDir = System.getenv("DOKKA_TEMPLATES_DIR")
val tmplDir = System.getProperty("dokka.templatesDir")
if (!tmplDir.isNullOrEmpty()) {
pluginConfiguration<org.jetbrains.dokka.base.DokkaBase, org.jetbrains.dokka.base.DokkaBaseConfiguration> {
templatesDir = File(tmplDir)
Expand Down

0 comments on commit d7e7e3d

Please sign in to comment.