dependency-guard
dependency-guard copied to clipboard
Configuration cache pt1
This PR is the part 1 (first 5 commits) of #51 to simplify reviewing and merging.
- more test cases added to be more confident when making large changes and refactoring afterwards.
- usage of
projectproperty during task's execution (@TaskAction) breaks configuration cache. That's whyproject.pathis now saved while configuring the task inDependencyGuardTreeDiffer. - checks from
ConfigurationValidatorsare now called in tasks's configurationAction instead of@TaskActionto avoid breaking configuration cache (these validations useprojectproperty). - gradle version is bumped to 7.5.1.
Like in original PR, changes are split to commits to simplify review.