Remove duplicate dokka configuration

This commit is contained in:
Michael Bull 2019-05-30 13:37:08 +01:00
parent 1e487d1468
commit 745a7ee89b

View File

@ -48,13 +48,6 @@ fun BintrayExtension.pkg(configure: BintrayExtension.PackageConfig.() -> Unit) {
} }
val dokka by tasks.existing(DokkaTask::class) { val dokka by tasks.existing(DokkaTask::class) {
kotlinTasks(closureOf<Any?> { emptyList() })
sourceDirs = sourceSets["main"].kotlin.srcDirs
outputFormat = "javadoc"
outputDirectory = "$buildDir/docs/javadoc"
}
dokka {
sourceDirs = sourceSets["main"].kotlin.srcDirs sourceDirs = sourceSets["main"].kotlin.srcDirs
outputFormat = "javadoc" outputFormat = "javadoc"
outputDirectory = "$buildDir/docs/javadoc" outputDirectory = "$buildDir/docs/javadoc"