@ConfigRoot public class PackageConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PackageConfig.FernflowerConfig |
| Modifier and Type | Field and Description |
|---|---|
Optional<String> |
appcdsBuilderImage
When AppCDS generation is enabled, if this property is set, then the JVM used to generate the AppCDS file
will be the JVM present in the container image.
|
boolean |
createAppcds
Whether to automate the creation of AppCDS.
|
static String |
FAST_JAR |
PackageConfig.FernflowerConfig |
fernflower
Fernflower Decompiler configuration
|
boolean |
includeDependencyList
This option only applies when using fast-jar or mutable-jar.
|
static String |
JAR |
static String |
LEGACY
Deprecated.
use 'legacy-jar' instead
|
static String |
LEGACY_JAR |
Optional<String> |
mainClass
The entry point of the application.
|
ManifestConfig |
manifest
Manifest configuration of the runner jar.
|
static String |
MUTABLE_JAR |
static String |
NATIVE |
static String |
NATIVE_SOURCES |
Optional<String> |
outputDirectory
The output folder in which to place the output, this is resolved relative to the build
systems target directory.
|
Optional<String> |
outputName
The name of the final artifact
|
String |
runnerSuffix
The suffix that is applied to the runner jar and native images
|
String |
type
The requested output type.
|
static String |
UBER_JAR |
Optional<List<String>> |
userConfiguredIgnoredEntries
Files that should not be copied to the output artifact
|
Optional<String> |
userProvidersDirectory
This is an advanced option that only takes effect for the mutable-jar format.
|
| Constructor and Description |
|---|
PackageConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAnyJarType() |
boolean |
isFastJar() |
boolean |
isLegacyJar() |
public static final String JAR
public static final String UBER_JAR
public static final String FAST_JAR
public static final String MUTABLE_JAR
@Deprecated public static final String LEGACY
public static final String LEGACY_JAR
public static final String NATIVE
public static final String NATIVE_SOURCES
@ConfigItem(defaultValue="jar") public String type
The default built in types are 'jar' (which will use 'fast-jar'), 'legacy-jar' for the pre-1.12 default jar packaging, 'uber-jar', 'native' and 'native-sources'.
@ConfigItem public ManifestConfig manifest
@ConfigItem public Optional<String> mainClass
QuarkusApplication.
If your application has main classes annotated with QuarkusMain
then this can also reference the name given in the annotation, to avoid the need to specify fully qualified
names in the config.
@ConfigItem public Optional<List<String>> userConfiguredIgnoredEntries
@ConfigItem(defaultValue="-runner") public String runnerSuffix
@ConfigItem public Optional<String> outputDirectory
@ConfigItem public Optional<String> outputName
@ConfigItem public boolean createAppcds
@ConfigItem public Optional<String> appcdsBuilderImage
quarkus.package.create-appcds=true and it requires having
docker available during the build.@ConfigItem public Optional<String> userProvidersDirectory
If this is specified a directory of this name will be created in the jar distribution. Users can place jar files in this directory, and when re-augmentation is performed these will be processed and added to the class-path.
Note that before reaugmentation has been performed these jars will be ignored, and if they are updated the app should be reaugmented again.
@ConfigItem(defaultValue="true") public boolean includeDependencyList
@ConfigItem public PackageConfig.FernflowerConfig fernflower
Copyright © 2021 JBoss by Red Hat. All rights reserved.