Skip to content

build errors about CleanAndroidOpenCVBuildFolderTask missing annotations #7

Description

@brianm-sra

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions