AndroidOpenCVGradlePlugin icon indicating copy to clipboard operation
AndroidOpenCVGradlePlugin copied to clipboard

build errors about CleanAndroidOpenCVBuildFolderTask missing annotations

Open brianm-sra opened this issue 2 years ago • 0 comments

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.

brianm-sra avatar Nov 29 '22 01:11 brianm-sra