Skip to content

Commit

Permalink
Fix runtime arguments explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Dec 3, 2024
1 parent 5194b26 commit c552a0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/src/docs/asciidoc/end-to-end-gradle-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ Inside these blocks you can pass the following options:
- `jvmArgs` - Passes the given argument directly to the JVM running the native image builder
- `useFatJar` - Instead of passing each jar individually, builds a fat jar

You can also pass **build-time** and **run-time** options to the Native Image using:
You can also pass **build-time** and **run-time** arguments:

- `buildArgs.add('<buildArg>')` - You can find more about possible build arguments https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildConfiguration/[here]
- `runtimeArgs.add('<runtimeArg>')` - You can find more about possible runtime arguments https://www.graalvm.org/latest/reference-manual/native-image/overview/Options/[here]
- `runtimeArgs.add('<runtimeArg>')` - Runtime arguments consumed by your application

Here is an example of additional options usage:

Expand Down
6 changes: 3 additions & 3 deletions docs/src/docs/asciidoc/end-to-end-maven-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ By default the plugin consults several locations in the pom.xml file in the foll
* `<jvmArgs>` - Passes the given argument directly to the JVM running the native image builder
* `<useArgFile>` - Use argument file for native-image building (__false__ by default)

You can also pass **build-time** and **run-time** options to the Native Image inside the following blocks:
You can also pass **build-time** options to the Native Image inside the following blocks:

- `<buildArgs>` - You can find more about possible build arguments https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildConfiguration/[here]
- `???` - You can find more about possible runtime arguments https://www.graalvm.org/latest/reference-manual/native-image/overview/Options/[here]
- `<buildArgs>` - You can find more about possible build arguments https://www.graalvm.org/latest/reference-manual/native-image/overview/Options/[here]
and also https://www.graalvm.org/latest/reference-manual/native-image/overview/BuildConfiguration/[here]

To skip generation of the native image or tests execution set the following properties to `true`:

Expand Down

0 comments on commit c552a0a

Please sign in to comment.