Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build errors about CleanAndroidOpenCVBuildFolderTask missing annotations #7

Open
brianm-sra opened this issue Nov 29, 2022 · 0 comments

Comments

@brianm-sra
Copy link

brianm-sra commented Nov 29, 2022

I followed the steps in the README to update my project build.gradle and app build.gradle

When I build on Ubuntu Linux with

./gradlew clean assembleDebug

I get the following errors about missing annotations in CleanAndroidOpenCVBuildFolderTask:

FAILURE: Build failed with an exception.

* What went wrong:
Some problems were found with the configuration of task ':passthrough:cleanAndroidOpenCVBuildFolder' (type 'CleanAndroidOpenCVBuildFolderTask').
  - In plugin 'com.ahasbini.android-opencv-gradle-plugin' type 'com.ahasbini.tools.androidopencv.task.CleanAndroidOpenCVBuildFolderTask' property 'description' 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.4.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.ahasbini.android-opencv-gradle-plugin' type 'com.ahasbini.tools.androidopencv.task.CleanAndroidOpenCVBuildFolderTask' property 'group' 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.4.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - In plugin 'com.ahasbini.android-opencv-gradle-plugin' type 'com.ahasbini.tools.androidopencv.task.CleanAndroidOpenCVBuildFolderTask' property 'name' 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.4.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant