Hello there. I am trying to set up 2 dokka tasks, ...
# dokka
t
Hello there. I am trying to set up 2 dokka tasks, so that: 1. they both generate documentation for the same multi module project 2. the first one generates html docs with kotlin definitions (that one is pretty simple) 3. the second one generates html docs with java definitions (and I want it to coexist with the first one) For a single module project adding a custom task like the one below would do the trick:
Copy code
tasks.register("dokkaHtmlJava", DokkaTask::class) {
    dependencies {
        plugins("org.jetbrains.dokka:kotlin-as-java-plugin:1.7.10")
    }
}
But for a multi module project I am really struggling to make it work. I believe I need to register a custom
DokkaMultiModuleTask
in my root build.gradle.kts and then some custom
DokkaTaskPartial
in my modules' build.gradle.kts files. Yet I can't seem to configure this properly. Can anyone help me with this?