Hey folks, Is there any documentation on how does ...
# caching
s
Hey folks, Is there any documentation on how does changes in jvm version impact caching? I understand a change in major version will cause a re-execution of tasks..but what about minor version changes or name/vendor changes?
v
It should but affect caching at all I think unless you have a task that declares the version etc as input like
JavaCompile
does. And then it depends on what that task declares at input, e.g.
JavaCompile
only declares the major version as input iirc, no minor or vendor or name. Usually the result should be the same, and you then you can e.g. more often reuse remote build cache entries. If you need more details to make the task out-of-date or not taken from cache, add it as output to the tasks in question yourself.
s
Thanks, this helps!
👌 1