diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-04-25 12:33:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 12:33:59 +0300 |
commit | f45e2fda614fd825fba00bdf27183f96219d3455 (patch) | |
tree | 2f0225f4787d7781a3d841748bac965adcb36bf0 /runners/maven-plugin | |
parent | 6f785722174393d4f05501b78df8fa779776e786 (diff) | |
download | dokka-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.kt | 4 |
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) |