aboutsummaryrefslogtreecommitdiff
path: root/runners/maven-plugin
diff options
context:
space:
mode:
authorIgnat Beresnev <ignat.beresnev@jetbrains.com>2022-04-25 12:33:59 +0300
committerGitHub <noreply@github.com>2022-04-25 12:33:59 +0300
commitf45e2fda614fd825fba00bdf27183f96219d3455 (patch)
tree2f0225f4787d7781a3d841748bac965adcb36bf0 /runners/maven-plugin
parent6f785722174393d4f05501b78df8fa779776e786 (diff)
downloaddokka-f45e2fda614fd825fba00bdf27183f96219d3455.tar.gz
dokka-f45e2fda614fd825fba00bdf27183f96219d3455.tar.bz2
dokka-f45e2fda614fd825fba00bdf27183f96219d3455.zip
Set `finalizeCoroutines` to false for maven runner (#2461)
See https://github.com/Kotlin/dokka/issues/2457
Diffstat (limited to 'runners/maven-plugin')
-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)