micronaut-projects / micronaut-gradle-plugin

A Gradle Plugin for Micronaut
Apache License 2.0
65 stars 43 forks source link

It is not possible to easily use the community edition of graalvm when using buildNativeLambda #915

Open Tharoano opened 6 months ago

Tharoano commented 6 months ago

Feature description

When using the task "buildNativeLambda", it will default to downloading the oracle graalvm for native compilation. See: Code for fetching the graalVM url for download This code defaults to the oracle graalvm download.

The distribution url is configurable though, very nice. However the code afterward seems to rely on the oracle distrubtion structure, before it seems like it used the community repo

Maybe there could be a flag that decides if it should use the CE och Oracle distribution?

The way it is built right now will only support oracle graalvm.