aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/printDokkaMaturityWarning.kt
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-14 13:42:08 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-08-17 09:05:06 +0200
commit86fcfb73d2d5124ae7748a80db29bdbb68607be4 (patch)
treee18d6e59cc75821b4f3143d73e46e24b1c75b14b /core/src/main/kotlin/printDokkaMaturityWarning.kt
parentb19ce3c7622666bd638baf2f840e898bb00efd90 (diff)
downloaddokka-86fcfb73d2d5124ae7748a80db29bdbb68607be4.tar.gz
dokka-86fcfb73d2d5124ae7748a80db29bdbb68607be4.tar.bz2
dokka-86fcfb73d2d5124ae7748a80db29bdbb68607be4.zip
Print maturity warning when running dokka
Diffstat (limited to 'core/src/main/kotlin/printDokkaMaturityWarning.kt')
-rw-r--r--core/src/main/kotlin/printDokkaMaturityWarning.kt7
1 files changed, 7 insertions, 0 deletions
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")
+}