Skip to content

Wrong version of Gradle used #190

@hrstoyanov

Description

@hrstoyanov

I have a fully configured Gradle projects witjh Java 22.0.1 and Gradle 8.8. When I open it with this plugin, I get this error:

Project webapp: Unsupported Java Runtime: The Java version: 22, that is selected for the project is not supported by Gradle 8.6.The IDE will attempt to use Gradle 8.6 to gather the project information. Possible solutions: * Upgrade your Gradle version on your project * Select Java Runtime 21 (or below), on Build > Gradle Execution settings, to avoid this problem!

Apparently there is some Gradle 8.6 bundled and this plugin fails to read my project's /gradle folder where there is a gradle-wrapper.properties file which clearly specify the Gradle version used (8.8 in my case), as well as the gradle-wrapper.jar fie itself.

Also, the instruction in the popup makes little sense - I tried Command+Shift+P (MacOs) but there is no "Gradle Execution settings"?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions