To generate the javadoc in previous versions I was...
# dokka
j
To generate the javadoc in previous versions I was using this code:
Copy code
val dokkaJar by tasks.creating(Jar::class) {
    archiveClassifier.set("javadoc")
    from(tasks.dokka)
    dependsOn(tasks.dokka)
}
Now I have to replace
dokka
to
dokkaJavadoc
?
s
You can always lookup this example here which we will maintain and keep up to date ☺️ https://github.com/Kotlin/kotlin-examples/blob/master/gradle/dokka/dokka-library-publishing-example/build.gradle.kts
👍 1
We have plans to further simplify this by automatically providing
jar
tasks out of the box ☺️
❤️ 1
j
Thank you sir 😄
🧐 1
s