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

savrov

05/10/2020, 3:50 PM
Hi guys, is it possible to import a pure kotlin local module to mpp module? for ex, i have the structure: • MPP (depends on Pure) • Pure
j

Joffrey

05/10/2020, 3:52 PM
I usually use 2 MPP modules to do that. You don’t have to define source folders for all targets in your “pure kotlin” module, but technically it still needs to be compiled for all targets of the other MPP module.
If you want an example of multi-project build with a mix of MPP and platform specific modules with inter-dependencies, you can check out my STOMP/websocket MPP project: https://github.com/joffrey-bion/krossbow
s

savrov

05/10/2020, 3:54 PM
wow, thx, going to check it out