Does refresh versions slow down my build at all? S...
# refreshversions
c
Does refresh versions slow down my build at all? Starting a new project and my team lead wants to go with buildSrc, but I think we should try refresh versions, but he says refresh versions would have some sort of build speed impact too.
j
The impact should be minimal, reading a few short text files and using Gradle APIs to force dependencies versions accordingly. Except when you add a dependency and it has to search in maven repositories what is the current version
l
Hardcoding versions in buildSrc will invalidate all incremental compilation caches (including normally unaffected modules) whenever you bump a single version. That's one of the reasons we made refreshVersions, so we, you included, don't get that penalty.
c
@louiscad cool. Any other known build issues in terms of perf? If not... seems like this is the solution we'll go for.
l
No
💯 1