You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to support projects not including a Gradle wrapper, invoking gradle wrapper was sufficient to create one.
However, this leads to problems on other projects which include a wrapper already, so we removed invoking this command per GH-27.
Problem
Now, we are seeing here, that it indeed leads to problems on projects which would like to generate a new wrapper, because, well, they are running on a newer version of Java where the shipped Gradle wrapper is not compatible with.
The effect is this error message:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
If we are reverting that change, we could push into a similar direction: Just wipe gradlew and invoke gradle wrapper to generate a new one, which will match the designated Java version. Is it a reasonable idea?
The text was updated successfully, but these errors were encountered:
Introduction
In order to support projects not including a Gradle wrapper, invoking
gradle wrapper
was sufficient to create one.However, this leads to problems on other projects which include a wrapper already, so we removed invoking this command per GH-27.
Problem
Now, we are seeing here, that it indeed leads to problems on projects which would like to generate a new wrapper, because, well, they are running on a newer version of Java where the shipped Gradle wrapper is not compatible with.
The effect is this error message:
Thoughts
If we are reverting that change, we could push into a similar direction: Just wipe
gradlew
and invokegradle wrapper
to generate a new one, which will match the designated Java version. Is it a reasonable idea?The text was updated successfully, but these errors were encountered: