From 5673aee96f531349a53df8352076ad4d95398fc2 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 4 Apr 2024 10:39:36 -0700 Subject: [PATCH] Added references to the Native Image options --- README.md | 6 ++++++ src/bld/java/com/example/GraalNativeBuild.java | 2 ++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index a68e81a..1331071 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,9 @@ Be sure to have the GraalVM `native-image` utility in your path, or set its loca ./hello ``` +## Native Image Options + +The options documentation can be found at: + +* https://www.graalvm.org/22.0/reference-manual/native-image/Options/ + diff --git a/src/bld/java/com/example/GraalNativeBuild.java b/src/bld/java/com/example/GraalNativeBuild.java index 8971805..67a4489 100644 --- a/src/bld/java/com/example/GraalNativeBuild.java +++ b/src/bld/java/com/example/GraalNativeBuild.java @@ -41,6 +41,8 @@ public class GraalNativeBuild extends Project { new ExecOperation() .fromProject(this) .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 "-jar", Paths.get(buildDistDirectory().getAbsolutePath(), jarFileName()).toString(),