Added references to the Native Image options

This commit is contained in:
Erik C. Thauvin 2024-04-04 10:39:36 -07:00
parent 6ff767b04e
commit 5673aee96f
Signed by: erik
GPG key ID: 776702A6A2DA330E
2 changed files with 8 additions and 0 deletions

View file

@ -31,3 +31,9 @@ Be sure to have the GraalVM `native-image` utility in your path, or set its loca
./hello ./hello
``` ```
## Native Image Options
The options documentation can be found at:
* https://www.graalvm.org/22.0/reference-manual/native-image/Options/

View file

@ -41,6 +41,8 @@ public class GraalNativeBuild extends Project {
new ExecOperation() new ExecOperation()
.fromProject(this) .fromProject(this)
.timeout(120) .timeout(120)
// The native image options documentation can be found at:
// https://www.graalvm.org/22.0/reference-manual/native-image/Options/
.command("native-image", // use its absolute path if not found .command("native-image", // use its absolute path if not found
"-jar", "-jar",
Paths.get(buildDistDirectory().getAbsolutePath(), jarFileName()).toString(), Paths.get(buildDistDirectory().getAbsolutePath(), jarFileName()).toString(),