https://kotlinlang.org logo
Title
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.
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!