to enable the New Memory Model of KMP, do I have to add this `kotlin.native.binary.memoryModel=exper...
r
to enable the New Memory Model of KMP, do I have to add this
kotlin.native.binary.memoryModel=experimental
to each module's
gradle.properties
?
Also once enabled this, do I HAVE to remove
freeze()
calls from the existing code like if I do not, will it throw exception
c
Since 1.7.20, the new memory manager is enabled by default. You will want to remove calls to
freeze()
. Iโ€™m not certain, but I would guess the behavior is unchanged from earlier versions, itโ€™s just unnecessary now.
r
I have 1.7.10 and I cannot upgrade as well. So thats why I was asking for this
๐Ÿ˜ข 1
like is it per module thing or what?
m
gradle properties of the parent project are inherited by children projects (modules).
r
Even for Kotlin multiplatform projects?
m
That's a gradle feature that is independent of the gradle plugins being used.
๐Ÿ™Œ 1
๐Ÿ‘ 1