In 1.5.30 one of the new features is <Sharing cust...
# multiplatform
s
In 1.5.30 one of the new features is Sharing custom cinterop libraries across platforms in multiplatform applications. Can someone explain what this is? It sounds very interesting and like something I’d potentially use, but it’s not really being specific. i.e. can I share cinterop libraries with a Java application?
n
From my understanding, you could only use custom native libraries that were shipped with Kotlin/Native this wont be the case with 1.50.30, you will be able to use other native ones as well
d
I think it has to do with the commonizer. It's a weird way to describe it indeed.
s
I still don’t understand, but it only applies to kotlin/native, right?
r
It's about commonizing cinterop libraries. Previously, for intermediate shared sources, you could access some platform API but not third party libraries. 1.5.30 has some major rewrites of commonizer which includes an option for commonizing libraries you include via cinterop. (It also greatly improves commonizer for deeper shared source hierarchies, but they haven't said much publicly about that yet).