Skip to content

Conversation

@anmolvermamm
Copy link
Contributor

@anmolvermamm anmolvermamm commented Feb 27, 2022

Drawback of buildSrc

Any change inside buildSrc completely invalidates the build cache. It also invalidates remote build cache, in instances when you are using it. Whilst it’s not really a problem for small projects, big ones with hundreds of modules are affected badly. On the other hand, changes in Gradle script files don’t invalidate the cache but merely invalidate some tasks.

https://medium.com/bumble-tech/how-to-use-composite-builds-as-a-replacement-of-buildsrc-in-gradle-64ff99344b58

https://docs.gradle.org/current/userguide/composite_builds.html

@anmolvermamm anmolvermamm changed the title RFC - Move to CompositeBuilds from buildSrc RFC - Move to CompositeBuilds from buildSrc (WIP) Feb 27, 2022
@vibhuti-shah-mutualmobile

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants