From d7e7e3d0cf5cba1fb5cf1ff39c47dcdeea0c47e0 Mon Sep 17 00:00:00 2001 From: vince Date: Sun, 18 Aug 2024 10:59:29 +0800 Subject: [PATCH] read dokka template dir from command line arguments --- buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts b/buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts index 98470a80..997914bd 100644 --- a/buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts +++ b/buildSrc/src/main/kotlin/ktorm.dokka.gradle.kts @@ -4,7 +4,7 @@ plugins { } tasks.named("dokkaHtmlMultiModule") { - val tmplDir = System.getenv("DOKKA_TEMPLATES_DIR") + val tmplDir = System.getProperty("dokka.templatesDir") if (!tmplDir.isNullOrEmpty()) { pluginConfiguration { templatesDir = File(tmplDir)