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)