Hi there! We have project with both Java and Kotli...
# dokka
s
Hi there! We have project with both Java and Kotlin code and want to generate a combined Javadoc. Dokka already includes both the packages, but for the Java code we use lombok, so dokka needs to include the delombok files as well. I managed to get that done via
sourceRoots.from(file("build/delombok"))
, but now all the descriptions are gone. So now I can decide between having the delombok or having the descriptions. When generating using javadoc, I have everything combined. Has someone an idea or a tip for me? Or is this an issue with dokka?
i
Hi! What exactly do you mean by descriptions?
s
I mean the text, which is in the Javadoc-Output next to each package (see e.g. here) in the column “descriptions”.
i
Oh. If
build/delombok
contains copied-over source files, and then Dokka generates signatures from that, then Dokka might not be able to find the description for the packages. Without delombok, where does Dokka get descriptions from?
package-info.java
? If yes, then maybe you can try moving them into
build/delombok
to see if it would fix the problem?
s
Yes, the descriptions are in the package-info.java files, but those files are already copied over to the build/delombok directory and still have the descriptions, but dokka seems to ignore that..!?
v
I mean the text, which is in the Javadoc-Output next to each package (see e.g. here) in the column “descriptions”
Do you mean only package descriptions?
the descriptions are in the package-info.java files,
Do you have only one
package-info.java
in
sourceRoots
? If yes - can you provide the project?