I have a java project that I plan on converting to...
# dokka
a
I have a java project that I plan on converting to Kotlin, https://github.com/k-random/k-random/. Right now I am trying to set up Dokka to generate the javadoc for the Java files but I am having trouble getting it set up to generate the javadoc necessary for publishing to maven central. When I run
./gradlew clean dokkaJavadoc
this is the output:
Copy code
> Task :dokkaJavadoc
Initializing plugins
Dokka is performing: documentation for k-random
Validity check
Creating documentation models
Exiting Generation: Nothing to document
Can anyone help me get this configured so I can convert my project to kotlin in intermediate steps (publish to maven central with a mixed java/kotlin project)? or should I just bite the bullet and convert the whole project to Kotlin and pause maven central publishing while I do so? https://github.com/k-random/k-random/blob/4-configure-dokka-in-the-project/build.gradle.kts#L32-L45
I figured it out. I needed to add the kotlin plugin