Skip to content

Commit a4ede60

Browse files
adam-enkowhyoleg
andauthored
disable klib cross compilation by default in example, because it's experimental
Co-authored-by: Oleg Yukhnevich <whyoleg@gmail.com>
1 parent 01ac51b commit a4ede60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/gradle-v2/kotlin-multiplatform-example/gradle.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ org.gradle.parallel=true
66
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
77
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
88

9-
# kotlin.native.enableKlibsCrossCompilation must be set to `true`
10-
# otherwise Kotlin can't generate a Klib for Coroutines in macosMain
11-
# when generating on Linux machines, resulting in 'Error class: unknown class'
12-
# for CoroutineScope appearing in the generated docs.
13-
kotlin.native.enableKlibsCrossCompilation=true
9+
# kotlin.native.enableKlibsCrossCompilation could be set to `true`
10+
# to be able to generate documentation via Dokka for macosMain on Linux machines
11+
# Otherwise, Dokka will produce 'Error class: unknown class'
12+
# for CoroutineScope appearing in the generated docs because of absent klibs
13+
kotlin.native.enableKlibsCrossCompilation=false

0 commit comments

Comments
 (0)