gradle-retrolambda icon indicating copy to clipboard operation
gradle-retrolambda copied to clipboard

Incompatible with Gradle 7

Open leo60228 opened this issue 2 years ago • 0 comments

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.

leo60228 avatar May 22 '23 19:05 leo60228