From 40ba68fffe44befc525dbdd42d47e6bd572b4495 Mon Sep 17 00:00:00 2001 From: Oleg Yukhnevich Date: Thu, 14 Nov 2024 16:16:40 +0200 Subject: [PATCH] Remove the dependency of `dokkaGenerate` on `dokkaGenerateModule*` --- .../dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt index 40352ea197..84d83e56cd 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt @@ -28,10 +28,7 @@ import org.jetbrains.dokka.gradle.engine.parameters.DokkaSourceSetSpec import org.jetbrains.dokka.gradle.engine.parameters.KotlinPlatform import org.jetbrains.dokka.gradle.engine.parameters.VisibilityModifier import org.jetbrains.dokka.gradle.internal.* -import org.jetbrains.dokka.gradle.tasks.DokkaBaseTask -import org.jetbrains.dokka.gradle.tasks.DokkaGenerateModuleTask -import org.jetbrains.dokka.gradle.tasks.DokkaGenerateTask -import org.jetbrains.dokka.gradle.tasks.TaskNames +import org.jetbrains.dokka.gradle.tasks.* import java.io.File import javax.inject.Inject @@ -268,7 +265,7 @@ constructor( ) { target.tasks.register(taskNames.generate) { description = "Generates Dokka publications for all formats" - dependsOn(target.tasks.withType()) + dependsOn(target.tasks.withType()) } target.tasks.withType().configureEach {