I don't know how to watch the generated kdoc
in my Browser.
I'm developing for Android with Kotlin and added dokka as dependency in gradle.
The new dokka
Task runs without Errors.
I added dokka as dependency in my Projects build.gradle
dependencies {
...
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.13"
}
and applied the plugin in my apps build.gradle
apply 'kotlin-android'
apply 'kotlin-android-extensions'
apply 'org.jetbrains.dokka'
But I can't find the Output in the Project Folder. How can I watch the Output in my browser or where is it?
Thanks
Edit 1: IDE: Intellij; Kotlin Version: 1.1.1
Edit 2 (11.04.2017):
build.Gradle
:
dokka {
outputDirectory = "$buildDir/docs"
}
I got it to work.
This post solved the problem.
Apparently dokka is not able to pick up the sourceSets {...}
defined in the android {...}
-block.
Workaround:
duplicate the sourceSets{...}
outside the android{...}
-block