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 project property during task's execution (@TaskAction) breaks configuration cache. That's why project.path is now saved while configuring the task in DependencyGuardTreeDiffer.
checks from ConfigurationValidators are now called in tasks's configurationAction instead of @TaskAction to avoid breaking configuration cache (these validations use project property).
gradle version is bumped to 7.5.1.
Like in original PR, changes are split to commits to simplify review.
This PR is the part 1 (first 5 commits) of #51 to simplify reviewing and merging.
project
property during task's execution (@TaskAction
) breaks configuration cache. That's whyproject.path
is now saved while configuring the task inDependencyGuardTreeDiffer
.ConfigurationValidators
are now called in tasks's configurationAction instead of@TaskAction
to avoid breaking configuration cache (these validations useproject
property).Like in original PR, changes are split to commits to simplify review.