Is there a way to enable the iOSers to read the ja...
# touchlab-tools
f
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
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"
    }
    …
}
🙌 1
❤️ 2
f
thanks!