diff options
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org/jetbrains')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt index e6ed363a..ff83fcef 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt @@ -12,7 +12,6 @@ open class DokkaPlugin : Plugin<Project> { project.setupDokkaTasks( name = "dokkaJavadoc", multimoduleTaskSupported = false, - collectorTaskSupported = false ) { plugins.dependencies.add(project.dokkaArtifacts.javadocPlugin) } @@ -27,13 +26,12 @@ open class DokkaPlugin : Plugin<Project> { } /** - * Creates [DokkaTask], [DokkaMultimoduleTask] and [DokkaCollectorTask] for the given + * Creates [DokkaTask], [DokkaMultimoduleTask] for the given * name and configuration. */ private fun Project.setupDokkaTasks( name: String, multimoduleTaskSupported: Boolean = true, - collectorTaskSupported: Boolean = true, configuration: AbstractDokkaTask.() -> Unit = {} ) { project.maybeCreateDokkaPluginConfiguration(name) @@ -52,11 +50,6 @@ open class DokkaPlugin : Plugin<Project> { configuration() } } - if (collectorTaskSupported) { - project.tasks.register<DokkaCollectorTask>("${name}Collector") { - dokkaTaskNames = dokkaTaskNames + name - } - } } } } |