Comments (8)
we encountered pretty much the same problem using spring-cloud-contract-gradle-plugin:4.1.1
from spring-cloud-contract.
Yes, 4.1.1 for us too.
from spring-cloud-contract.
@shanman190 please help 🙏
from spring-cloud-contract.
@marcingrzejszczak, yeah I'll take a look. Just initial review of the Gradle proper jvm-test-suite
plugin shows that the API surface that we use is the same, but they renamed the return type from DependencyAdder
to DependencyCollector
. However, we don't use the type directly, but rather indirectly, so we shouldn't have been broken here.
To summarize, I'm not sure why it's saying the method isn't found and we should be compatible with Gradle 8.6 without any changes. I'll try to debug it here soon and see what's going on.
from spring-cloud-contract.
@welovelain, what version of the Spring Cloud Contract Gradle Plugin are you using?
from spring-cloud-contract.
The Gradle team upstream has chosen to leave the API as is, so I'll submit a PR to use reflection to handle the 7.6-8.5 version ranges.
from spring-cloud-contract.
I have same issue with version 4.0.3.
from spring-cloud-contract.
So I've reviewed this and it is a binary breaking change at the JVM level. The code compiles correctly on 8.5 and 8.6. but using a plugin version built with 8.6 on a lower Gradle version results in the same issue as well.
from spring-cloud-contract.
Related Issues (20)
- String change after test generating HOT 2
- Stubbing in @BeforeAll HOT 4
- Build isn't working so any PR is not building
- Failed to build after Gradle 8.6 upgrade HOT 2
- spring-cloud-contract docker image for linux/arm64/v8 platform (Mac M1) HOT 1
- Contract tests not generated in producer failing with compile error HOT 3
- Update wiremock dependency to be compatible with wiremock-standalone HOT 3
- Slf4j metadata are fetched in each maven command HOT 4
- Camel Kafka fails to read messages unless run twice HOT 3
- jpms HOT 5
- Unable to generate dynamic array in response HOT 3
- Spring Cloud Contract Stub Runner Docker fails to start if repository mounted in read-only mode HOT 4
- StubRunner should fail if stubrunner.stubsPerConsumer=true and no stubs are found
- bodyMatchers' validations are not overwriting equality validation in request body HOT 5
- SCC Gradle plugin when plugin is applied, a plugin that does "tasks.all" before. HOT 5
- wrapValueWithQuotes throws NullPointer when value is null (Cannot invoke "Object.toString()" because "value" is null) HOT 2
- Maven plugin is not using maven repositories
- StubRunner should not compile contracts by default
- Spring cloud contract with content type application/x-ndjson
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-contract.