https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Robert Jaros

03/10/2020, 9:45 AM
Can i have
actual
class for an
expect
class defined in a dfferent subproject with new MPP?
o

Orhan Tozan

03/10/2020, 11:36 AM
I don't think you can, not 100% sure.
l

louiscad

03/10/2020, 12:56 PM
I'm 100% sure you can't. That's where interfaces can become handy.
r

Robert Jaros

03/10/2020, 12:59 PM
Perhaps 😉 But it really makes migrating big projects from old MPP a horrible experiance ;-)
l

louiscad

03/10/2020, 1:01 PM
Do you have a lot of them?
k

Kris Wong

03/10/2020, 1:02 PM
welcome to the bleeding edge
l

louiscad

03/10/2020, 1:02 PM
If so, I can volunteer to make a Kotlin script or program to semi-automate it
r

Robert Jaros

03/10/2020, 1:03 PM
Fortunately only one and I'm slowly finishing :-)
But it took 6(!) days of my life ;-)
(old mpp -> new mpp) + (groovy dsl -> kotlin dsl) + (kotlin/js 1.3.61 -> kotlin/js 1.3.70) all at once ... in addition, maintaining compatibility for existing applications ...
2 Views