Class NativeImageResourcePatternsBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.nativeimage.NativeImageResourcePatternsBuildItem
A build item that indicates that a set of resource paths defined by regular expression patterns or globs should be
included in the native image.
Globs passed to the includeGlob*() methods of the NativeImageResourcePatternsBuildItem.Builder are transformed to regular expressions
internally. See NativeConfig.ResourcesConfig.includes() for the supported glob syntax.
The patterns are passed to the native image builder using resource-config.json.
The same mechanism (and regular expression syntax) is used by native-image's
-H:ResourceConfigurationFiles, -H:IncludeResources and -H:ExcludeResources (since
GraalVM 20.3.0) command line options.
Related build items:
- Use
NativeImageResourceBuildItemif you need to add a single resource - Use
NativeImageResourceDirectoryBuildItemif you need to add a directory of resources
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
getExcludePatterns
-
getIncludePatterns
-
builder
-