Kotlin/kotlin-examples

Dokka example with multi module Android projects

CoderSpinoza opened this issue · 5 comments

The repo seems to lack a Dokka example with multi module Android projects, where the doc has to encompass all subprojects.

Whie it is documented well on how to use Dokka for a single project on Dokka github page, it isn't for Android multi module project. Therefore, having this example on this repo would help a lot of developers configure their dokka configurations.

No comments on this?

There are some examples on this issue, but it all looks very hacky.

Hi there, I've made a basic example of a multiproject generation for classic Kotlin code. It also works for Android projects but because there is no "compileKotlin" task in those, you have to replace it with eg. "compileReleaseKotlin". Hope this helps! 🙂
#103

@kamildoleglo Is your basic example still applicable for version 1.4.0-rc you think?

Update: Probably not. A lot seems to have changed.

Unfortunately not, there is however a multimodule example there, created by @sellmair, just not for Android specifically but that shouldn't be an issue