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

Missing annotation with gradle 7 #25

Open
TLATER opened this issue Jul 22, 2021 · 1 comment
Open

Missing annotation with gradle 7 #25

TLATER opened this issue Jul 22, 2021 · 1 comment

Comments

@TLATER
Copy link

TLATER commented Jul 22, 2021

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.

@markaalvaro
Copy link

markaalvaro commented Dec 1, 2022

Any workarounds for this from a consumer side, or are we just blocked from using this plugin until there's a fix when using Gradle 7+ (and therefore for Java projects 17+)?

Edit: Just saw the no maintenance intended! Sorry about that.

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

2 participants