Skip to content

Commit

Permalink
Set finalizeCoroutines to false for maven runner (#2461)
Browse files Browse the repository at this point in the history
See #2457

(cherry picked from commit f45e2fd)
  • Loading branch information
IgnatBeresnev committed Apr 25, 2022
1 parent a7d7e07 commit 981ca7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
Expand Up @@ -262,6 +262,10 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc
failOnWarning = failOnWarning,
suppressObviousFunctions = suppressObviousFunctions,
suppressInheritedMembers = suppressInheritedMembers,
// looks like maven has different life cycle compared to gradle,
// so finalizing coroutines after each module pass causes an error.
// see https://github.com/Kotlin/dokka/issues/2457
finalizeCoroutines = false,
)

val gen = DokkaGenerator(configuration, logger)
Expand Down

0 comments on commit 981ca7f

Please sign in to comment.