Class 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. The jarFile 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. The resourceName 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) (see jarFile). 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 Detail

      • ExcludeConfigBuildItem

        public ExcludeConfigBuildItem​(String jarFile,
                                      String resourceName)
      • ExcludeConfigBuildItem

        public ExcludeConfigBuildItem​(String jarFile)
    • Method Detail

      • getJarFile

        public String getJarFile()
      • getResourceName

        public String getResourceName()