aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runners/maven-plugin/src/main/kotlin/DokkaMojo.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
index f643dc81..de190db1 100644
--- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
+++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt
@@ -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)