:rocket: <Dokka 2.1.0-Beta> is out! :rocket: - Gra...
# dokka
o
🚀 Dokka 2.1.0-Beta is out! 🚀 • Gradle plugin v2 is now enabled by default – v1 is deprecated and will be removed in future releases! • K2 analysis is enabled by default – now with the support for context parameters! • Refined HTML output with improved accessibility & UI. • Performance improvements and bug fixes. We would really appreciate your feedback! kodee loving
🔥 6
dokkatoo intensifies 1
j
This means we can remove the V2 Gradle project property?
a
in short, yes. In Dokka 2.1.0-Beta the default value for
org.jetbrains.dokka.experimental.gradle.pluginMode
is
V2EnabledWithHelpers
. This means DGP will register 'fake', no-op tasks and configurations with the same name as those from DGPv1. (This is to ease migration, so when someone updates DGP to 2.1.0 their buildscripts will still compile if the tasks are referenced, and gives people a chance to react to deprecation warnings.) If you don't mind these 'helper' tasks, then remove 'pluginMode'. And if you don't want them, then set
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
When we remove DGPv1 (in Dokka 2.2.0?) we'll add a deprecation warning for the 'pluginMode property if it's present, so you don't have to worry about tidying it up right now.
thank you color 1