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

Sergio Casero

10/30/2018, 1:14 PM
Hi guys, just an architecture question, why is better to have only 1 module with all the targets?? In my opinion, is better to have 1 module per platform, no?
g

gildor

10/30/2018, 1:43 PM
Much less boilerplate, you can have more flexible source sharing (share part of sorces for particular platform) and also you still can have1 module per platform if you want, as I understand this is still possible with new MPP plugin
s

Sergio Casero

10/30/2018, 1:47 PM
jmmm, I need to take a look
In my case, with the old mpp plugin, I only need to implement the views for each platform, and that's all
g

gildor

10/30/2018, 1:49 PM
Why you cannot do this with new plugin?
s

Sergio Casero

10/30/2018, 4:00 PM
No no, it was just a question because I'm taking a look to different samples and I see that behavior, I need to take a deep look, so... do you recommend to avoid the old mpp plugin? Maybe this weekend I'll migrate to the new one, thanks 🙂
2 Views