Hi all! The Dokka docs say that: If you want to g...
# dokka
a
Hi all! The Dokka docs say that: If you want to generate the documentation as seen from Java perspective, you can add the 
kotlin-as-java
 plugin to the Dokka plugins classpath, eg. in Gradle:
Copy code
dependencies{
    implementation("...")
    dokkaGfmPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:${dokka-version}")
}
Where do I put this in a multi-module multiplatform project? I'm also using
.kts
, and this doesn't compile anywhere. If any of you know anybody who can help I'm willing to pay for the proper config, I just want to get this over with as I've been struggling with Dokka for months now.
m
Hi, i'd add that to subprojects 🙂 If you are struggling with dokka please send me a link to your project, myself and @Kamil Doległo can help you with the setup ☺️
👍 1
a
wow, that's great thanks!
k
Hi @addamsson, here’s the PR https://github.com/Hexworks/zircon/pull/354 ☺️. Unfortunately I’ve discovered a bug in
KotlinAsJava
plugin while creating this PR. It’ll be fixed in the next release: https://github.com/Kotlin/dokka/issues/1663 Sorry for that 😢
a
Wow, this is great news!!!!
👍