Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

New graal distribution URL not supported #654

Open
serpro69 opened this issue Mar 10, 2024 · 0 comments
Open

New graal distribution URL not supported #654

serpro69 opened this issue Mar 10, 2024 · 0 comments

Comments

@serpro69
Copy link

What happened?

Graal builds have moved from https://github.com/oracle/graal/releases to https://github.com/graalvm/graalvm-ce-builds/releases

Simply updating the url via downloadBaseUrl property doesn't help because of some hardcoded values in this plugin.

What did you want to happen?

Support downloading graal builds from the current location

serpro69 added a commit to serpro69/kotlin-faker that referenced this issue Mar 10, 2024
Graal builds have moved to a new location:
https://github.com/graalvm/graalvm-ce-builds/releases

At the same time, palantir/gradle-graal plugin does not support this
(see palantir/gradle-graal#654)

There seems to be a gradle plugin provided by graalvm,
so trying to see if that can be used instead.

Locally I also did the following:

- install a different graal distribution via `sdk install java 17.0.9-graalce`
  - version 17 since I'm using java 17 locally mostly, though
    kotlin-faker is built with java 8 of course, but seems like that
    works fine
- make sure the native-image for the new distribution is installed:
  - `gu install native-image`
  - note that `gu` is NOT available for 21.0.2-graalce version for some reason

Note that 'reflect-config.json' was updated using the 17.0.9-graalce distribution.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant