Hey so I was writing a multiplatform library, but ...
# gradle
e
Hey so I was writing a multiplatform library, but it seems to be that case that all the code can just be in common. What's the best way to setup builds for various platforms without having source sets for each platform? Or should I just not worry about it and remove the directories. (bout to eat lunch apologies in advance for delayed responses)
l
If all your common code is on commonMain, you dont need to declare dependencies nor sourceSets for the targets. But you need to declare the targets themselves for kotlin to know what to compile for
👍 1
3