Hey y'all. I have a multi-module Android project w...
# dokka
s
Hey y'all. I have a multi-module Android project where the individual modules are building correctly, but I have nothing for the "MultModuleTask" output in my top level build file. Top-level project Gradle (Kotlin DSL) :
Copy code
tasks.withType<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>().configureEach {
    outputDirectory.set(File(project.projectDir, "dokka"))
}
m
Which command are you running?
s
./gradlew dokkaHtml
but could be xxx or whatever
m
for the multimodule task you should run
./gradlew dokkaHtmlMultiModule
the
dokkaHtml
is a task for single module projects
s
Interesting, that doesn't show as a task in my list for
./gradlew tasks
. Might be something off with my configuration there.
To touch back, I have a project where the other modules are not submodules but modules of the same "level" in a project.
m
I don’t quite understand this without an example. Do you mean that modules are flattened to 1 level instead of creating a nested structure? If so this was reported as an enhancement: https://github.com/Kotlin/dokka/issues/1727