Frank van der Laan
01/25/2024, 1:08 PMDaniel Seither
01/25/2024, 1:31 PMbuild.gradle.kts
which enables exporting doc comments into the Objective-C header:
kotlin {
…
targets.withType<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget> {
// Include KDoc comments in Objective-C headers
compilations.get("main").kotlinOptions.freeCompilerArgs += "-Xexport-kdoc"
}
…
}
Frank van der Laan
01/25/2024, 8:56 PM