Closed jmfayard closed 9 years ago
I think that this pattern doesn't really help u2020 since it contains only one module. There simply isn't a need to share library versions in multiple places.
Yeah, we do this internally as well, but we have multiple modules. I don't think it makes sense in u2020 as it adds an unnecessary layer of abstraction.
Agreed. We do the same in our projects (including other open source ones). This repo has only a single module so I don't think it would be useful. It's definitely the right thing in larger projects, though.
Hello, for our projects, I started to apply a pattern for the build system to extract the definitions in a separate
dependencies.gradle
fileThen
app/build.gradle
looks likeI find it makes it less error-prone to write gradle builds and to compare libraries versions accross different projects.
Would you like to see a pull request along those lines?