Skip to content

Commit

Permalink
Remove unused collectorTaskSupported parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed May 15, 2022
1 parent c4567d5 commit feeba4b
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ open class DokkaPlugin : Plugin<Project> {
name: String,
multiModuleTaskSupported: Boolean = true,
allModulesPageAndTemplateProcessing: Dependency = project.dokkaArtifacts.allModulesPage,
collectorTaskSupported: Boolean = true,
configuration: AbstractDokkaTask.() -> Unit = {}
) {
project.maybeCreateDokkaPluginConfiguration(name)
Expand Down Expand Up @@ -81,12 +80,11 @@ open class DokkaPlugin : Plugin<Project> {
}
}
}
if (collectorTaskSupported) {
project.tasks.register<DokkaCollectorTask>("${name}Collector") {
addSubprojectChildTasks(name)
description =
"Generates documentation merging all subprojects '$name' tasks into one virtual module"
}

project.tasks.register<DokkaCollectorTask>("${name}Collector") {
addSubprojectChildTasks(name)
description =
"Generates documentation merging all subprojects '$name' tasks into one virtual module"
}
}
}
Expand Down

0 comments on commit feeba4b

Please sign in to comment.