Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set finalizeCoroutines to false for maven runner #2461

Merged
merged 1 commit into from Apr 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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