Package io.quarkus.deployment.pkg
Interface NativeConfig.Compression
- Enclosing interface:
NativeConfig
public static interface NativeConfig.Compression
-
Method Summary
Modifier and TypeMethodDescriptionAllows passing extra arguments to the UPX command line (like --brute).Whether the compression should be executed within a container.The image used for compression.booleanenabled()Whether compression should be enabled.level()The compression level in [1, 10]. 10 means best.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Whether compression should be enabled. -
containerBuild
Whether the compression should be executed within a container. -
containerImage
The image used for compression. Defaults toquarkus.native.builder-imageif not set.Setting this variable will automatically activate
-
level
OptionalInt level()The compression level in [1, 10]. 10 means best.Higher compression level requires more time to compress the executable.
-
additionalArgs
Allows passing extra arguments to the UPX command line (like --brute). The arguments are comma-separated.The exhaustive list of parameters can be found in https://github.com/upx/upx/blob/devel/doc/upx.pod.
-