Hi, I'm thinking of starting a multiplatform proje...
# build-tools
v
Hi, I'm thinking of starting a multiplatform project for backend & frontend using Kotlin, both using a common module. But how do I manage to run CI/CD only when one of the projects change? I thought creating two separate projects and using mavenLocal to connect both, but this would make the development a nightmare. Any ideas?
m
Is the concern that CI will cost too much if you're running tests for everything all the time?
If that's the case, you could either: • cache results of previous builds so that tests are not re-run if nothing changes • or use only if in Github Actions to only run parts of your tests that need changing
v
Oh, that's great. I was searching for something like that, but for the gradle. I don't why I didn't read the GA docs. Thanks!
g
I honestly think that proper gradle cache is better, more universal and stable solution