Continuing the discussion from #4222, which was fixed in #4223; and a comment on that PR: I think the graalvm-version and graalvm-java-version options should also be directives (in addition to the already added graalvm-jvm-id => packaging.graalvmJvmId and graalvm-args => packaging.graalvmArgs which already existed).
The alternative is to not add those directives, and let them be just command-line args. I considered the alternative but I think it is more consistent to have all of the available GraalVM packaging options as command-line args and directives.
Continuing the discussion from #4222, which was fixed in #4223; and a comment on that PR: I think the
graalvm-versionandgraalvm-java-versionoptions should also be directives (in addition to the already addedgraalvm-jvm-id=>packaging.graalvmJvmIdandgraalvm-args=>packaging.graalvmArgswhich already existed).The alternative is to not add those directives, and let them be just command-line args. I considered the alternative but I think it is more consistent to have all of the available GraalVM packaging options as command-line args and directives.