Hi I am trying to generate docs using Dokka in my ...
# dokka
a
Hi I am trying to generate docs using Dokka in my kotlin project. The gradle files are defined in groovy format Gradle version: 5.6.4 Dokka version: 1.5.0 I simply added the plugin to my root build.gradle file
Copy code
plugins {
    id 'org.jetbrains.dokka' version '1.5.0'
}
This gradle synced successfully. When I now try to run
./gradlew dokkaJavadoc
or
./gradlew dokkaHtml
I get this error:
Copy code
$ ./gradlew dokkaHtml

FAILURE: Build failed with an exception.

* What went wrong:
org/jetbrains/kotlin/gradle/dsl/KotlinSingleTargetExtension
> org.jetbrains.kotlin.gradle.dsl.KotlinSingleTargetExtension
v
What version of Kotlin plugin do you use? Please turn on a debug mode ``./gradlew dokkaHtml -d`` Or it will be useful if you share the project configuration.
a
Thanks @Vadim Mishenev - I think it was probably the fact that I was using an old Kotlin version (
1.2.71
) I switched to Dokka 0.9.x and it worked - Is there a page where I can see Dokka - Kotlin compatibilty?