To generate the javadoc in previous versions I was using this code: ```val dokkaJar by tasks.creatin...
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