-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[workspace-image] Update Gradle #69
Comments
I just tried to work with the currently installed gradle version (4.4.1) but don't succeed.
but even a simple
produces an error which I can't handle:
|
when I run
|
Something in grade tries to call java.lang.invoke.MethodHandles.privateLookupIn(Class, Lookup) , but that method was introduced in Java9 and we have Java8 installed. Gradle itself is happy with Java8, according to the docs. |
workaround: use |
workaround works - I installed gradle through sdkman.io and initialized the gradle wrapper... I just wonder if it would make sense to have sdkman.io in the standard container. It lets you easily install various versions of various tools.... |
I just tried sdkman.io in gitpod as well:
and It makes sense to use it in the standard container because it can manage Java, Gradle and Maven in the user-space, just as we already do it for |
I'll look into fixing this in https://github.com/gitpod-io/workspace-images/blob/master/full/Dockerfile directly. Thanks for the sdkman.io suggestion! |
I guess we could use either https://sdkman.io or https://linuxbrew.sh here:
I'll do some more research and experiments, but I'm open to suggestions/preferences. |
I ran into a few bugs with Linuxbrew, so I went with SDKMAN to install Gradle and Maven. I'd still like to install Linuxbrew though, because it would allow installing basically any package in Gitpod without |
We should update the installed gradle to the latest released version.
The text was updated successfully, but these errors were encountered: