You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/docs/asciidoc/gradle-plugin.adoc
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,29 +173,29 @@ You can also pass **build-time** and **run-time** arguments:
173
173
- `buildArgs.add('<buildArg>')`: Configures the build by passing options directly to `native-image`. You can pass any Native Image build option listed https://www.graalvm.org/reference-manual/native-image/overview/Options/[here].
174
174
- `runtimeArgs.add('<runtimeArg>')`: Specifies runtime arguments consumed by your application.
175
175
176
-
==== Command line options
176
+
==== Command Line Options
177
177
178
-
The preferred way to configure native binaries is by using the DSL, so that you can provide reproducible builds which do not depend on obscure CLI invocations.
179
-
However, in some circumstances, for experimentation, it may be useful to override parameters from command line.
180
-
The following flags are available and (unless stated otherwise) will take precedence over the DSL configuration:
178
+
The preferred way to configure native binaries is through the DSL, so that you can provide reproducible builds which do not depend on obscure CLI invocations.
179
+
However, in some cases—such as experimentation—it may be useful to override parameters via the command line.
180
+
The following flags are available and, unless stated otherwise, take precedence over the DSL configuration:
181
181
182
182
|===
183
183
|Command line option|Description
184
184
|`--image-name=<name>`|Overrides the `imageName` property
185
185
|`--main-class=<class>`|Overrides the `mainClass` property
186
186
|`--(no-)debug-native`|Enables or disables debug info generation
187
187
|`--(no-)verbose`|Enables or disables verbose output
188
-
|`--(no-)fallback`|Enables or disables the fallback mode
188
+
|`--(no-)fallback`|Enables or disables fallback mode
189
189
|`--(no-)quick-build-native`|Enables or disables quick build mode
190
190
|`--(no-)rich-output`|Enables or disables rich output
191
191
|`--(no-)pgo-instrument`|Enables or disables PGO instrumentation
192
192
|`--build-args`|Adds build arguments
193
-
|`--force-build-args`|Overrides build arguments (DSL will be ignored)
194
-
|`--(no-)fat-jar`|Enables or disables creation of a far jar for compilation
195
-
|`--sysprop-native`|Adds a system property for compilation
196
-
|`--env-native`|Adds an environment variable for compilation
197
-
|`--jvm-args-native`|Adds JVM arguments for compilation
198
-
|`--force-jvm-args-native`|Overrides JVM arguments (DSL will be ignored)
193
+
|`--force-build-args`|Overrides build arguments (DSL configuration is ignored)
194
+
|`--(no-)fat-jar`|Enables or disables creation of a fat JAR for compilation
195
+
|`--sysprop-native`|Adds a system property for `native-image` compilation
196
+
|`--env-native`|Adds an environment variable for `native-image` compilation
197
+
|`--jvm-args-native`|Adds JVM arguments for `native-image` compilation
198
+
|`--force-jvm-args-native`|Overrides JVM arguments (DSL configuration is ignored)
0 commit comments