Skip to content

Commit

Permalink
Remove the dependency of dokkaGenerate on dokkaGenerateModule*
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Nov 14, 2024
1 parent 15986f6 commit 40ba68f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -268,7 +265,7 @@ constructor(
) {
target.tasks.register<DokkaBaseTask>(taskNames.generate) {
description = "Generates Dokka publications for all formats"
dependsOn(target.tasks.withType<DokkaGenerateTask>())
dependsOn(target.tasks.withType<DokkaGeneratePublicationTask>())
}

target.tasks.withType<DokkaGenerateTask>().configureEach {
Expand Down

0 comments on commit 40ba68f

Please sign in to comment.