Added references to the Native Image options
This commit is contained in:
parent
6ff767b04e
commit
5673aee96f
2 changed files with 8 additions and 0 deletions
|
@ -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/
|
||||||
|
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue