Skip to content

Missing annotation with gradle 7 #25

@TLATER

Description

@TLATER

Hi, I'm trying to use this with gradle 7, but I'm getting the following:

> Task :updateOfflineRepository FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':updateOfflineRepository' (type 'UpdateOfflineRepositoryTask').
  - Type 'UpdateOfflineRepositoryTask' property 'EMPTY_DEPENDENCIES_ARRAY' 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/userguide/validation_problems.html#missing_annotation for more details about this problem.

This clearly points here, but I don't have enough context to figure out how that should be annotated.

I'm guessing it should be marked @Internal, and that this is a requirement for newer gradle versions.

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