would anyone recommend Muilt-KMM modules , we have...
# multiplatform
p
would anyone recommend Muilt-KMM modules , we have crazy build time for small changes would this help
p
Multi module always help build time
p
I do not think so
p
You don't need to recompile the modules over and over, neither rely on Gradle cache. You just need to link against a precompiled binary. At work I have an App split around 50 modules. If we had to compile all that at once, it would take more than 20 minutes. Our current debug build for the App is under 1 minute, thanks to the split.
🙌 1
But I did notice you start getting this benefit after more than 10 modules or so. Bellow 10 modules, probably mono repo is faster. I remember we started to split when we had around 20+ modules. Where it was taking around 2/3 minutes to build the mono repo
p
that is very good point
👌 1