openbakery / gradle-xcodePlugin

gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS
Apache License 2.0
457 stars 129 forks source link

Build fails with Gradle 7.0 #449

Open frangipanes opened 3 years ago

frangipanes commented 3 years ago

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!

renep commented 3 years ago

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