dependency-guard icon indicating copy to clipboard operation
dependency-guard copied to clipboard

Configuration cache pt1

Open qwert2603 opened this issue 3 years ago • 0 comments

This PR is the part 1 (first 5 commits) of #51 to simplify reviewing and merging.

  1. more test cases added to be more confident when making large changes and refactoring afterwards.
  2. usage of project property during task's execution (@TaskAction) breaks configuration cache. That's why project.path is now saved while configuring the task in DependencyGuardTreeDiffer.
  3. checks from ConfigurationValidators are now called in tasks's configurationAction instead of @TaskAction to avoid breaking configuration cache (these validations use project property).
  4. gradle version is bumped to 7.5.1.

Like in original PR, changes are split to commits to simplify review.

qwert2603 avatar Oct 10 '22 18:10 qwert2603