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

Ricky

08/18/2020, 3:19 AM
Also, would it be possible to have a jvm common? since the entire project would be in jvm only.
t

Tijl

08/18/2020, 2:26 PM
with Kotlin 1.4 yes, this is a feature which has been in preview but is now more documented: https://kotlinlang.org/docs/reference/mpp-share-on-platforms.html#share-code-on-similar-platforms
r

Ricky

08/18/2020, 3:38 PM
Doesn't seem like it's supported
Copy code
We don't currently support sharing a source set for these combinations:

- Several JVM targets
Since I wont be using JS/Native, It's a JVM-only project. I just want to take advantage of
expect/actual
t

Tijl

08/18/2020, 3:41 PM
well spotted.
2 Views