@ConfigRoot public class PackageConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JAR |
Optional<String> |
mainClass
The entry point of the application.
|
ManifestConfig |
manifest
Manifest configuration of the runner 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.
|
boolean |
uberJar
If the java runner should be packed as an uberjar
|
Optional<List<String>> |
userConfiguredIgnoredEntries
Files that should not be copied to the output artifact
|
| Constructor and Description |
|---|
PackageConfig() |
public static final String JAR
public static final String NATIVE
@ConfigItem(defaultValue="jar") public String type
@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
Copyright © 2020 JBoss by Red Hat. All rights reserved.