Simplify javadocJar dependency on dokka task

This commit is contained in:
Michael Bull 2018-09-24 22:32:47 +01:00
parent 436d0990cb
commit 8c35de90ae

View File

@ -59,7 +59,7 @@ val javadocJar by tasks.registering(Jar::class) {
group = LifecycleBasePlugin.BUILD_GROUP
description = "Assembles a jar archive containing the Javadoc API documentation."
classifier = "javadoc"
dependsOn(dokka.get())
dependsOn(dokka)
from(dokka.get().outputDirectory)
}