is anyone using gradle version 8.9 for KMM project...
# multiplatform
a
is anyone using gradle version 8.9 for KMM project?
👌 5
@jw any issues faced during migration from 8.5 to 8.9?
j
None that I can recall. We have probably 10-15 projects that are on 8.9. Renovate always bumps to the latest as soon as it's released.
🙌 1
a
i am having trouble with Cinterop for ios target binaries (trying to use objC in kotlin gradle was not having issues with this until the migration happend lol)
Copy code
val path = projectDir.resolve("src/nativeInterop/cinterop/observer")

binaries.all {
    linkerOpts("-F $path")
    linkerOpts("-ObjC")
}

compilations.getByName("main") {
    cinterops.create("observer") {
        compilerOpts("-F $path")
    }
}
j
Hmm we have a few projects using cinterop and some even embedding the resulting native into the klib, but nothing using Objective-C specifically. What's the error displayed?
a
org.gradle.api.tasks.TaskExecutionException: Execution failed for task 'webviewcommonizeCInterop' i see similar issue being posted on jetbrains https://youtrack.jetbrains.com/issue/KT-57143/KMM-commonizeCInterop-not-working-with-Cocoapods-and-firebase-kotlin-sdk
@jw Thanks i was able to resolve it by removing this from gradle.properties :)
Copy code
kotlin.mpp.enableCInteropCommonization=true