aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main/kotlin/org
diff options
context:
space:
mode:
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
-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"
}
}
}