Hi, I'm new. I am trying to build a multiplatform project, but I can't see to use native Java classes in the common code. Is this on purpose or is this an error in my project setup?
12/11/2018, 8:22 PM
That is on purpose. You can only use common code in common code. Java code is specific to the JVM platform.
12/11/2018, 8:24 PM
Thank you, that makes sense. So we need lots of multiplatform (=mpp?) libs then. That's a challenge
12/11/2018, 8:35 PM
Depends on your use case, but that is indeed one of the big drives right now.
12/11/2018, 8:36 PM
Well, migrating an existing project to Kotlin multiplatform. But well, it was already to hard to believe I could just use the existing Java sources lol, that would be like a miracle.
I guess I'll join the effort 💪
Is there a lits of all available multiplatform libs?
12/11/2018, 8:42 PM
I’m working on a couple multiplatform projects at the moment myself. I’ve made it a practice to write as much code in the common module as possible, even if the project only has a JVM module at the time
I am updating Droidcon/Sessionize app tonight (ish) to show a bunch of these in a production app. There have been issues because all Jetbrains' libraries are gradle 4.7 and the ones from Touchlab (aka me) and Sqldelight are gradle 4.10, which is what Android 3.3 requires