Has anyone faced/resolved issues with Dokka V2 mul...
# dokka
p
Has anyone faced/resolved issues with Dokka V2 multi-module Javadoc generation? The HTML generation works for my composite build dependencies, but Javadoc generation produces empty directories.
The merging task does generate the docs for each dependency, but the merging itself fails to produce any outputs.
Looking at
dokka-configuration.json
in the parent project's build dir, I can see that
sourceOutputDirectory
is correct for all the modules.
a
Dokka's Javadoc just doesn't support multimodule aggregation. Dokka HTML is the only format that supports aggregation.
p
Is support planned? The logs and outputs indicate it's attempting to do the merge.
Copy code
=== TIME MEASUREMENT ===

                           Initializing plugins:  229
                                 Validity check:    1
                  Creating documentation models:  732
Transforming documentation model before merging:    6
                   Merging documentation models:    0
 Transforming documentation model after merging:   11
                                 Creating pages:   14
                             Transforming pages:    1
                                      Rendering: 1430
I worked around this for now by adding to the sourceSets
o
Is support planned?
Not at this moment, feel free to subscribe for https://github.com/Kotlin/dokka/issues/1382