Skip to content

Commit d7e7e3d

Browse files
committedAug 18, 2024·
read dokka template dir from command line arguments
1 parent 344bcd3 commit d7e7e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
tasks.named<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaHtmlMultiModule") {
7-
val tmplDir = System.getenv("DOKKA_TEMPLATES_DIR")
7+
val tmplDir = System.getProperty("dokka.templatesDir")
88
if (!tmplDir.isNullOrEmpty()) {
99
pluginConfiguration<org.jetbrains.dokka.base.DokkaBase, org.jetbrains.dokka.base.DokkaBaseConfiguration> {
1010
templatesDir = File(tmplDir)

0 commit comments

Comments
 (0)
Please sign in to comment.