gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
91 stars 8 forks source link

Getting `org.gradle.tooling.UnsupportedVersionException` on previously working branch #1109

Closed AdamMarton closed 11 months ago

AdamMarton commented 11 months ago

Expected Behavior

I'm expecting my task to be completed without getting any exceptions.

Current Behavior

Getting org.gradle.tooling.UnsupportedVersionException on a branch that was built fine before.

The error message says:

The version of Gradle you are using (Gradle distribution 'https://services.gradle.org/distributions/gradle-8.2.1-all.zip') does not support the BuildLauncher API. Support for this is available in Gradle 1.2 and all later versions.

which sounds a bit confusing.

Context

My SonarCloud checks stopped working.

Steps to Reproduce (for bugs)

Can't really tell, as the build completes perfectly in my local, but not in our Drone environment. Again, this build worked fine previously even in Drone, and no changes were done in between.

Your Environment

AdamMarton commented 11 months ago

Closing this, as the issue is related to the most recent Sonar plugin.