Is there a way to enable the iOSers to read the javadoc of a KMP lib (KMMBridge with SKIE)? The android library includes it, the swift package not, I think.
d
Daniel Seither
01/25/2024, 1:31 PM
We have this in our
build.gradle.kts
which enables exporting doc comments into the Objective-C header:
Copy code
kotlin {
…
targets.withType<org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget> {
// Include KDoc comments in Objective-C headers
compilations.get("main").kotlinOptions.freeCompilerArgs += "-Xexport-kdoc"
}
…
}