diff options
-rw-r--r-- | core/src/main/kotlin/DokkaGenerator.kt | 2 | ||||
-rw-r--r-- | core/src/main/kotlin/printDokkaMaturityWarning.kt | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/core/src/main/kotlin/DokkaGenerator.kt b/core/src/main/kotlin/DokkaGenerator.kt index 4262d890..2ba0c0a4 100644 --- a/core/src/main/kotlin/DokkaGenerator.kt +++ b/core/src/main/kotlin/DokkaGenerator.kt @@ -19,6 +19,8 @@ class DokkaGenerator( private val logger: DokkaLogger ) { fun generate() = timed(logger) { + printDokkaMaturityWarning(logger) + report("Initializing plugins") val context = initializePlugins(configuration, logger) diff --git a/core/src/main/kotlin/printDokkaMaturityWarning.kt b/core/src/main/kotlin/printDokkaMaturityWarning.kt new file mode 100644 index 00000000..b5b15f1f --- /dev/null +++ b/core/src/main/kotlin/printDokkaMaturityWarning.kt @@ -0,0 +1,7 @@ +package org.jetbrains.dokka + +import org.jetbrains.dokka.utilities.DokkaLogger + +internal fun printDokkaMaturityWarning(logger: DokkaLogger) { + logger.warn("dokka 1.4.* is an alpha project") +} |