Class ExcludeConfigBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.deployment.builditem.nativeimage.ExcludeConfigBuildItem
-
public final class ExcludeConfigBuildItem extends MultiBuildItem
A build item that allows extension to configure the native-image compiler to effectively ignore certain configuration files in specific jars. ThejarFile
property specifies the name of the jar file or a regular expression that can be used to match multiple jar files. Matching jar files using regular expressions should be done as a last resort. TheresourceName
property specifies the name of the resource file or a regular expression that can be used to match multiple resource files. For the match to work, the resources need to be part of the matched jar file(s) (seejarFile
). Matching resource files using regular expressions should be done as a last resort. See https://github.com/oracle/graal/pull/3179 for more details.
-
-
Constructor Summary
Constructors Constructor Description ExcludeConfigBuildItem(String jarFile)
ExcludeConfigBuildItem(String jarFile, String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJarFile()
String
getResourceName()
-