Hi! With 1.6.20 release we have enabled HMPP by de...
# multiplatform
a
Hi! With 1.6.20 release we have enabled HMPP by default https://kotlinlang.org/docs/whatsnew1620.html#hierarchical-structure-support-for-multiplatform-projects 🎉 Please share your feedback!
🎉 4
👍 1
👍 3
m
What about
Copy code
kotlin.mpp.enableCInteropCommonization=true
kotlin.mpp.enableHierarchicalCommonization=true
is/will it be enabled by default?
a
Hierarchical Commonization is also enabled by default.
kotlin.mpp.enableHierarchicalCommonization
property no longer exists.
kotlin.mpp.enableCInteropCommonization=true
is not yet enabled.
m
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
👌 1