From 9011a167e70ca44d8bd7f4a183434c95a7cd83bf Mon Sep 17 00:00:00 2001 From: "Vadim.Mishenev" Date: Sat, 4 Nov 2023 20:25:31 +0200 Subject: [PATCH] Edit msg --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt index f883f54626..2cfd4fbabe 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaPlugin.kt @@ -19,7 +19,9 @@ open class DokkaPlugin : Plugin { project.logger.warn("Dokka: Build is using unsupported gradle version, expected at least 5.6 but got ${project.gradle.gradleVersion}. This may result in strange errors") } if (project.shouldUseK2()) - project.logger.info("K2 Analysis is using") + project.logger.warn("K2 Analysis is using. " + + "This feature is experimental and can cause failed Dokka or incorrect documentation. " + + "Feel free report problems in https://github.com/Kotlin/dokka/issues") project.setupDokkaTasks("dokkaHtml") { description = "Generates documentation in 'html' format"