This message was deleted.
# caching
s
This message was deleted.
f
I believe you need to mark your tasks as executing
onlyIf
https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:using_a_predicate
Caching will just mean that a task won’t execute new work but it will still run (ike it your build might be cacheable and not rebuild but it will still run dependant tasks afaik)
v
Interesting, but how can onfyIf block in the 'deploy' task check if the 'shadowJar' task has everything in cache? Some gradle API?