to enable the New Memory Model of KMP, do I have t...
# multiplatform
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