@ConfigRoot public class PackageConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
createAppcds
Whether to automate the creation of AppCDS.
|
static String |
FAST_JAR
This is the new packaging format, it is intended to become the default soonish, so it will just
be referred to as 'jar'.
|
static String |
JAR |
static String |
LEGACY |
Optional<String> |
mainClass
The entry point of the application.
|
ManifestConfig |
manifest
Manifest configuration of the runner jar.
|
static String |
MUTABLE_JAR |
static String |
NATIVE |
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 |
boolean |
uberJar
Deprecated.
|
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
public static final String LEGACY
public static final String NATIVE
@ConfigItem(defaultValue="jar") public String type
@Deprecated @ConfigItem(defaultValue="false") public boolean uberJar
@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> userProvidersDirectory
Copyright © 2020 JBoss by Red Hat. All rights reserved.