From b730bf43d93c60df2fc3a1b0b25485b1458a9488 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Fri, 24 Feb 2023 19:16:54 +0200 Subject: Mark Plugin Api as experimental (#2743) --- .../src/main/kotlin/AndroidDocumentationPlugin.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugins/android-documentation/src/main') diff --git a/plugins/android-documentation/src/main/kotlin/AndroidDocumentationPlugin.kt b/plugins/android-documentation/src/main/kotlin/AndroidDocumentationPlugin.kt index fd345802..94ed3b34 100644 --- a/plugins/android-documentation/src/main/kotlin/AndroidDocumentationPlugin.kt +++ b/plugins/android-documentation/src/main/kotlin/AndroidDocumentationPlugin.kt @@ -3,6 +3,8 @@ package org.jetbrains.dokka.android import org.jetbrains.dokka.android.transformers.HideTagDocumentableFilter import org.jetbrains.dokka.base.DokkaBase import org.jetbrains.dokka.plugability.DokkaPlugin +import org.jetbrains.dokka.plugability.DokkaPluginApiPreview +import org.jetbrains.dokka.plugability.PluginApiPreviewAcknowledgement class AndroidDocumentationPlugin : DokkaPlugin() { private val dokkaBase by lazy { plugin() } @@ -10,4 +12,8 @@ class AndroidDocumentationPlugin : DokkaPlugin() { val suppressedByHideTagDocumentableFilter by extending { dokkaBase.preMergeDocumentableTransformer providing ::HideTagDocumentableFilter order { before(dokkaBase.emptyPackagesFilter) } } + + @OptIn(DokkaPluginApiPreview::class) + override fun pluginApiPreviewAcknowledgement(): PluginApiPreviewAcknowledgement = + PluginApiPreviewAcknowledgement } \ No newline at end of file -- cgit