Code Monkey home page Code Monkey logo

Comments (8)

jmuenchenberg avatar jmuenchenberg commented on September 27, 2024 5

we encountered pretty much the same problem using spring-cloud-contract-gradle-plugin:4.1.1

from spring-cloud-contract.

welovelain avatar welovelain commented on September 27, 2024 3

Yes, 4.1.1 for us too.

from spring-cloud-contract.

marcingrzejszczak avatar marcingrzejszczak commented on September 27, 2024 1

@shanman190 please help 🙏

from spring-cloud-contract.

shanman190 avatar shanman190 commented on September 27, 2024 1

@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.

shanman190 avatar shanman190 commented on September 27, 2024 1

@welovelain, what version of the Spring Cloud Contract Gradle Plugin are you using?

from spring-cloud-contract.

shanman190 avatar shanman190 commented on September 27, 2024 1

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.

rivancic avatar rivancic commented on September 27, 2024

I have same issue with version 4.0.3.

from spring-cloud-contract.

shanman190 avatar shanman190 commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.