Skip to content

Commit

Permalink
disable klib cross compilation by default in example, because it's ex…
Browse files Browse the repository at this point in the history
…perimental

Co-authored-by: Oleg Yukhnevich <[email protected]>
  • Loading branch information
adam-enko and whyoleg authored Dec 5, 2024
1 parent 01ac51b commit a4ede60
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ org.gradle.parallel=true
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true

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

0 comments on commit a4ede60

Please sign in to comment.