Swapping Dependencies Without Leaving Traces
summary
A multi-repo project uses Gradle to deliver unpublished feature changes into the final application by substituting dependencies with local projects at build time. The talk explains Gradle techniques for replacing published artifacts with local modules without changing the consuming application, and shows how this enables opening multiple repositories together in one IDE to work on them as a single codebase.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:04Speaker intro
- 2:09Why swap dependencies
- 6:00Composite builds basics
- 7:48Configuring substitutions
- 9:53Test fixtures issues
- 14:06Initial solution benefits
- 15:31Gradle build lifecycle
- 17:39Init scripts approach
- 20:31Automating with plugin
- 23:40AGP sync issues
- 29:45Gradle version compatibility
- 32:12Final solution refinement
- 32:54Solution drawbacks
- 34:16Best use cases
- 36:00Daily workflow impact
- 36:43Q&A
