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

curioustechizen

02/05/2020, 3:37 PM
This is a newbie question, but I'm finding some confusing and potentially out-of-date info about this: Can you separate out your source-sets into separate gradle modules while using KMP?
k

Kris Wong

02/05/2020, 3:38 PM
i'm guessing there would be a way to make that work, but the auto setup between common and target specific source sets wouldn't apply
it sounds like it would likely cause a few headaches
j

Joffrey

02/06/2020, 9:01 AM
I tried to have this approach for my STOMP multiplatform library, and it does cause some headaches (still haven’t figured out how to properly generate KDoc for everything with links between subprojects). You can see the code here: https://github.com/joffrey-bion/krossbow
👍 1
But this is for JVM/JS only, I didn’t do Android/iOS stuff, so it might not help you
2 Views