aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
diff options
context:
space:
mode:
authorMatthew Haughton <3flex@users.noreply.github.com>2022-05-20 23:02:13 +1000
committerGitHub <noreply@github.com>2022-05-20 16:02:13 +0300
commitee81282410368e58d5b0bee23a938352b9d41b2d (patch)
tree142328adf2f440e415fba6059894407f7b85d1a1 /runners/gradle-plugin
parente595e0eac086ea5fa14d7e13a2ad66e2ccb64dd4 (diff)
downloaddokka-ee81282410368e58d5b0bee23a938352b9d41b2d.tar.gz
dokka-ee81282410368e58d5b0bee23a938352b9d41b2d.tar.bz2
dokka-ee81282410368e58d5b0bee23a938352b9d41b2d.zip
Remove unused `collectorTaskSupported` parameter (#2498)
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/main.kt12
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"
}
}
}