diff options
author | Matthew Haughton <3flex@users.noreply.github.com> | 2022-05-20 23:02:13 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 16:02:13 +0300 |
commit | ee81282410368e58d5b0bee23a938352b9d41b2d (patch) | |
tree | 142328adf2f440e415fba6059894407f7b85d1a1 /runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka | |
parent | e595e0eac086ea5fa14d7e13a2ad66e2ccb64dd4 (diff) | |
download | dokka-ee81282410368e58d5b0bee23a938352b9d41b2d.tar.gz dokka-ee81282410368e58d5b0bee23a938352b9d41b2d.tar.bz2 dokka-ee81282410368e58d5b0bee23a938352b9d41b2d.zip |
Remove unused `collectorTaskSupported` parameter (#2498)
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt | 12 |
1 files changed, 5 insertions, 7 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 8e306e4c..691d9f6d 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 @@ -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) @@ -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" } } } |