Can anyone explain the reason for gradle property ...
# multiplatform
m
Can anyone explain the reason for gradle property
kotlin.mpp.enableCInteropCommonization=true
and when it should be used? Should I be using this in the libraries that I publish? Can't find any solid documentation on what it does...
r
It lets your intermediate source sets have access to custom cinterop definitions you've added. https://kotlinlang.org/docs/multiplatform-share-on-platforms.html#use-native-libraries-in-the-hierarchical-structure
m
Got it. So, no custom cinterop definitions, it's not needed in my libraries. Will consumers of my library be affected by removing the property?
r
I'm not aware of any downstream impact from not having it.
🙏 1