spring-cloud / spring-cloud-contract

Support for Consumer Driven Contracts in Spring
https://cloud.spring.io/spring-cloud-contract
Apache License 2.0
720 stars 439 forks source link

Workaround Gradle `jvm-test-suite` binary breaking change #2103

Closed shanman190 closed 8 months ago

shanman190 commented 9 months ago

Use reflection to avoid JVM level binary breaking change introduced in Gradle 8.6. Fixes gh-2098 and gh-2099

This is a forward merge of gh-2102.

shanman190 commented 8 months ago

@OlgaMaciaszek, do you think that you'd be able to review this one?

I think the CI job just needs to be retriggered again to clear the failure as it looks like Maven was flaky on the CI run.

OlgaMaciaszek commented 8 months ago

@shanman190, I've pushed some changes to main to ensure the project builds correctly: https://github.com/spring-cloud/spring-cloud-contract/actions/runs/8358117918/job/22878713841. You might need to merge them. Please make sure the build passes.

shanman190 commented 8 months ago

🎉 Build succeeded 🎉