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

Incompatible with Gradle 7 #284

Open
leo60228 opened this issue May 22, 2023 · 0 comments
Open

Incompatible with Gradle 7 #284

leo60228 opened this issue May 22, 2023 · 0 comments

Comments

@leo60228
Copy link

A problem was found with the configuration of task ':compileRetrolambdaMain' (type 'RetrolambdaTask').
  - In plugin 'me.tatarka.RetrolambdaPluginJava' type 'me.tatarka.RetrolambdaTask' property 'classpath' has @Input annotation used on property of type 'FileCollection'.
    
    Reason: A property of type 'FileCollection' annotated with @Input cannot determine how to interpret the file.
    
    Possible solutions:
      1. Annotate with @InputFile for regular files.
      2. Annotate with @InputFiles for collections of files.
      3. If you want to track the path, return File.absolutePath as a String and keep @Input.
    
    Please refer to https://docs.gradle.org/7.6.1/userguide/validation_problems.html#incorrect_use_of_input_annotation for more details about this problem.

This was made a warning in Gradle 6.0 and an error in Gradle 7.0.

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