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

Ola Adolfsson

08/09/2022, 9:12 PM
Hello, I’m looking into adding Dokka to our project. The documentation states that I should add the following for a multi-module project. To my understanding this is kotlin. I have tried to “convert” it to groovy. This feels super easy, but I can solve it.
Copy code
tasks.dokkaHtmlMultiModule.configure {
    outputDirectory.set(buildDir.resolve("dokkaCustomMultiModuleOutput"))
}
Thanks 🙂
i

Ignat Beresnev

08/10/2022, 11:01 AM
Hi! kotlinx.serialization still has groovy-based configuration, I think it's a nice example: https://github.com/Kotlin/kotlinx.serialization/blob/master/gradle/dokka.gradle
o

Ola Adolfsson

08/10/2022, 12:21 PM
Exactly what i needed! Thanks!
👍 1
26 Views