Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Gradle UP-TO-DATE checking for all tasks
The two checker tasks run quickly so don't gain much from UP-TO-DATE, but it is convenient to not see them in the noise (checkUpperBoundDeps in particular). Gradle only performs UP-TO-DATE checks (on the inputs) if the task has both inputs and outputs defined. The biggest saving was for distZip/distTar/shadowDistZip/shadowDistTar which were using the same name for the non-shadow and shadow versions. Thus the output file would always be out-of-date because it had been rewritten and was invalid. This is worrisome because we could have "randomly" been using the shadow Zip/Tar at times and the non-shadow ones at others, although I think in practice the shadow tasks always run last and so those are the files we'd see. Changing the classifier avoids the colliding file names. These tasks took ~7 seconds, so incremental builds are considerably shorter now.
- Loading branch information