Hello all :wave: I’m really struggling with genera...
# dokka
g
Hello all 👋 I’m really struggling with generating Dokka docs for a multimodule maven project. I’ve found
Dokka Maven plugin does not support multi-platform projects.
on the docs, does this mean it’s not yet supported? If so, is there any workaround for generating the docs for the modules and merge them together?
j
Out of curiosity, is there a specific reason you're using Maven over Gradle?
g
The team was more familiar with maven, fear of changing I guess
j
I'm asking because the Kotlin team is working closely with the Gradle team, and usually there is more synergy between the 2 than with other build tools. So if you're lacking features like this, you might want to consider switching (especially for Kotlin MPP)
For your specific current problem, I honestly don't know the answer, but I guess the default response would be to write your own maven plugin for this
🙏 1
i
Yeah, unfortunately, maven does not support multi-module builds. As for workarounds, theoretically, you could hack together a script (build each one individually and then combine them), but I'm not sure everything will work correctly then - one thing that comes to mind is cross-module links. Multi-module documentation is essentially a dokka plugin that ties into gradle tasks, but it seems it doesn't work with maven as our maven runner is rather simple. I don't know the details, but if you decide to contribute, we'd be happy to share knowledge. I'm personally not sure how hard it would be to implement as I don't know the details, but we can find out
v