https://kotlinlang.org logo
#dokka
Title
i

Ignat Beresnev

06/06/2023, 1:00 PM
Dokka 1.8.20 has finally been released 🎉 The team is working hard on migrating Dokka's source code and documentation analysis to the K2 compiler, and we have plans to address various Gradle compatibility problems in the upcoming releases. Full changelog: https://github.com/Kotlin/dokka/releases/tag/v1.8.20
💥 3
🎉 8
🚀 8
r

robstoll

06/06/2023, 9:42 PM
unfortunately with a breaking change. outputDirectory is now a DirectoryProperty and no longer a Property<File> which means a plugin which builds up on dokka and passed a Provider<File> needs to release a fix now
i

Ignat Beresnev

06/07/2023, 1:08 PM
a plugin which builds up on dokka and passed a Provider<File> needs to release a fix now
Hm, could you please clarify how a plugin would set Dokka's
outputDirectory
? What's the use case? And by "a plugin" you mean a Dokka plugin, right? Plugins should be runner-independent, that's why I'm asking..
r

robstoll

06/08/2023, 6:36 AM
a gradle plugin which configures the dokka plugin based on conventions. it sets the outputDirectory to
${rootProject}/docs
for instance
5 Views