Shopify / android-testify

Add screenshots to your Android tests
https://testify.dev
MIT License
231 stars 23 forks source link

Task reportShow fails due to property 'destinationPath' is missing an input or output annotation #241

Closed DanielJette closed 2 years ago

DanielJette commented 3 years ago

Describe the bug

Task reportShow fails due to property 'destinationPath' is missing an input or output annotation

This issue relates to:

To Reproduce

With an app running gradle 7+ and AGP 7+: ./gradlew Sample:reportShow

Screenshots

> Task :app:reportShow FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':app:reportShow' (type 'ReportShowTask').
  - Type 'com.shopify.testify.tasks.report.ReportShowTask' property 'destinationPath' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'com.shopify.testify.tasks.report.ReportShowTask' property 'reportName' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 659ms
1 actionable task: 1 executed

Desktop (please complete the following information):

Target Android Device (please complete the following information):

DanielJette commented 2 years ago

Moved to https://github.com/ndtp/android-testify/issues/81