When running screenshot tests with Gradle 7 I see the following errors:
* What went wrong:
Some problems were found with the configuration of task ':<project>:cleanDebugAndroidTestScreenshots' (type 'CleanScreenshotsTask').
- Type 'CleanScreenshotsTask' property 'extension' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
- Type 'CleanScreenshotsTask' property 'variant' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
It didn't go further so it's possible that other tasks miss annotation as well
When running screenshot tests with Gradle 7 I see the following errors:
It didn't go further so it's possible that other tasks miss annotation as well