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

Jim

07/08/2020, 4:39 PM
Hey there new here! I’ve been working on a project I’m planning to open source but I want to use a multiplatform build so the library is consumable from: kotlin, java, and js (typescript). common -> top level functions and extensions on abstract classes let’s say jvm -> a class or two that use that abstract class js -> a class or two that use that abstract class Before I split the code up this way, do I need to re-export all of the top level functions in common to the other two targets or do they come for free?
k

Kris Wong

07/08/2020, 4:41 PM
common symbols are included in all targets
j

Jim

07/08/2020, 4:54 PM
Awesome 👍 thank you!
2 Views