android-testify icon indicating copy to clipboard operation
android-testify copied to clipboard

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

Open DanielJette opened this issue 3 years ago • 0 comments

Describe the bug

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

This issue relates to:

  • [ ] The Kotlin library
  • [x] The Gradle plugin
  • [ ] The IntelliJ Platform plugin
  • [ ] The sample code
  • [ ] The documentation

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):

  • OS: macOS
  • Version 11.4

Target Android Device (please complete the following information):

  • Device: [e.g. Pixel, S20]
  • Physical or Virtual: [e.g. Android Virtual Device (Emulator), Firebase Cloud Image, Samsung Test Lab, Physical Device]
  • API Level: [e.g. 21, 28, 30]
  • Testify Key: 30-1080x2160@440dp-en_CA

DanielJette avatar Mar 22 '22 15:03 DanielJette