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

What am I doing wrong -- Could not create task ':copyContracts'. #2146

Closed
aronAtWex opened this issue Dec 5, 2024 · 3 comments
Closed

What am I doing wrong -- Could not create task ':copyContracts'. #2146

aronAtWex opened this issue Dec 5, 2024 · 3 comments

Comments

@aronAtWex
Copy link

I have been trying to learn Spring Cloud Contract and implement it on one of our basic API services.

I get stuck with this error.
An exception occurred applying plugin request [id: 'org.springframework.cloud.contract', version: '4.2.0']

Failed to apply plugin 'org.springframework.cloud.contract'.
Could not create task ':copyContracts'.
> Configuration with name 'contractTestGeneratorRuntimeClasspath' not found.

  I have trying some get starting guides on the internet but they seem out dated some. 
  https://spring.io/guides/gs/contract-rest
  https://www.baeldung.com/spring-cloud-contract
  
  I'm using gradle which I'm still learning, but most of the guides are using Maven. 
  Any help would be greatly appreciated. 
@marcingrzejszczak
Copy link
Contributor

Can you check this sample and see the Gradle setup?

@spring-cloud-issues
Copy link

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

@spring-cloud-issues
Copy link

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

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