i hava a kotlin module library , i want generate aar file, how to use dokka to generate kotlin aar file?
It's not clear what the point of generating aar file with documentation
Basically, you should make it like creating documentation jar
Ex:
task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
outputFormat = 'javadoc'
outputDirectory = "$buildDir/javadoc"
}
task javadocJar(type: Jar, dependsOn: dokkaJavadoc) {
classifier = 'javadoc'
from "$buildDir/javadoc"
}
Hi @yan612468, is this still relevant?
Most helpful comment
It's not clear what the point of generating aar file with documentation
Basically, you should make it like creating documentation jar
Ex: