Hierarchical Commonization is also enabled by default.
kotlin.mpp.enableHierarchicalCommonization
property no longer exists.
kotlin.mpp.enableCInteropCommonization=true
is not yet enabled.
m
msink
04/05/2022, 10:31 AM
Ok, I see - only
enableCInteropCommonization
is not set by default, and without it there is a warning:
Copy code
[WARNING] The project is using Kotlin Multiplatform with hierarchical structure and disabled 'cinterop commonization'
See: <https://kotlinlang.org/docs/mpp-share-on-platforms.html#use-native-libraries-in-the-hierarchical-structure>
'cinterop commonization' can be enabled in your 'gradle.properties'
kotlin.mpp.enableCInteropCommonization=true
To hide this message, add to your 'gradle.properties'
kotlin.mpp.enableCInteropCommonization.nowarn=true