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

Build fails with Gradle 7.0

Open frangipanes opened this issue 4 years ago • 1 comments

I have the following problem when using xcodeplugin 0.21.0 to build an application after upgrading Gradle from 6.8.3 to 7.0:

A problem was found with the configuration of task ':iOS:xcodetest' (type 'XcodeTestTask').
  - Type 'XcodeTestTask' property 'printLogger' 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 seems odd because I can see that this property does indeed appear to have the @Internal annotation https://github.com/openbakery/gradle-xcodePlugin/blob/f60af1896d3502a1ba1b32d54ae890ab8811f1b2/plugin/src/main/groovy/org/openbakery/AbstractXcodeTestTask.groovy as of December 2020!

frangipanes avatar Oct 01 '21 18:10 frangipanes

Ok I still use gradle 6.x. I will look into it.

renep avatar Oct 04 '21 06:10 renep