Merged
Conversation
Collaborator
Author
Member
|
@Y-Shcheholskyy, can I ask you for a favour to use this version for the whole section in docs/src/docs/asciidoc/gradle-plugin.adoc (just a few corrections in the text)? ==== Command Line Options
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.
However, in some cases—such as experimentation—it may be useful to override parameters via the command line.
The following flags are available and, unless stated otherwise, take precedence over the DSL configuration:
|===
|Command line option|Description
|`--image-name=<name>`|Overrides the `imageName` property
|`--main-class=<class>`|Overrides the `mainClass` property
|`--(no-)debug-native`|Enables or disables debug info generation
|`--(no-)verbose`|Enables or disables verbose output
|`--(no-)fallback`|Enables or disables fallback mode
|`--(no-)quick-build-native`|Enables or disables quick build mode
|`--(no-)rich-output`|Enables or disables rich output
|`--(no-)pgo-instrument`|Enables or disables PGO instrumentation
|`--build-args`|Adds build arguments
|`--force-build-args`|Overrides build arguments (DSL configuration is ignored)
|`--(no-)fat-jar`|Enables or disables creation of a fat JAR for compilation
|`--sysprop-native`|Adds a system property for `native-image` compilation
|`--env-native`|Adds an environment variable for `native-image` compilation
|`--jvm-args-native`|Adds JVM arguments for `native-image` compilation
|`--force-jvm-args-native`|Overrides JVM arguments (DSL configuration is ignored)
|===
|
olyagpl
approved these changes
May 27, 2025
dnestoro
approved these changes
Jun 2, 2025
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed table appearance, added css styles
