Are changes in `buildSrc` still expected to invali...
# gradle
e
Are changes in
buildSrc
still expected to invalidate all caches? I see that https://github.com/gradle/gradle/issues/2531 is still open, but I just tested making some changes to my
buildSrc
and rebuilding, and practically everything came from the cache.
n
depends if those changes are part of the build cache key or not. since buildSrc is implicity added to the buildscript classpath for many plugins it may affect the cacheability. but for first party plugins like javacompile it will not affect the cache key. that being said, if you have made the same changes before and are recompiling, those will also come from the cache. check a build scan to understand why the changes were or were not coming from the cache.