kotlin-examples icon indicating copy to clipboard operation
kotlin-examples copied to clipboard

Dokka example with multi module Android projects

Open CoderSpinoza opened this issue 8 years ago • 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.

CoderSpinoza avatar Oct 26 '17 02:10 CoderSpinoza

No comments on this?

itisbugra avatar Dec 20 '18 19:12 itisbugra

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

zach-klippenstein avatar Mar 20 '19 22:03 zach-klippenstein

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! :slightly_smiling_face: https://github.com/JetBrains/kotlin-examples/pull/103

kamildoleglo avatar Mar 25 '19 13:03 kamildoleglo

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

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

alixwar avatar Aug 12 '20 13:08 alixwar

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

kamildoleglo avatar Aug 12 '20 15:08 kamildoleglo