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

PactVerificationTask not compatible with Gradle 7.0.2 #1374

Closed
ehmurray8 opened this issue May 31, 2021 · 2 comments
Closed

PactVerificationTask not compatible with Gradle 7.0.2 #1374

ehmurray8 opened this issue May 31, 2021 · 2 comments

Comments

@ehmurray8
Copy link

I am using version 4.2.6 of the provider plugin

plugins {
    id("au.com.dius.pact") version "4.2.6"
}

I am trying to upgrade Gradle to 7.0.2, but it is causing the pactVerify task to fail.

* What went wrong:
Some problems were found with the configuration of task ':pactVerify_clapton-profile-provider' (type 'PactVerificationTask').
  - Type 'au.com.dius.pact.provider.gradle.PactVerificationTask' property 'providerToVerify' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem.
  - Type 'au.com.dius.pact.provider.gradle.PactVerificationTask' property 'verifier' 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.2/userguide/validation_problems.html#missing_annotation for more details about this problem
@uglyog
Copy link
Member

uglyog commented Jun 27, 2021

4.2.7 has been released

@ehmurray28
Copy link

It's working now, thank you!

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

3 participants