Class NativeImageResourcePatternsBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.deployment.builditem.nativeimage.NativeImageResourcePatternsBuildItem
public final class NativeImageResourcePatternsBuildItem
extends io.quarkus.builder.item.MultiBuildItem
A build item that indicates that a set of resource paths defined by globs should be
included in the native image.
Globs passed to the includeGlob*() methods of the NativeImageResourcePatternsBuildItem.Builder are passed directly
to the native image builder. See
for the supported glob syntax.
invalid reference
NativeConfig.ResourcesConfig#includes
The globs are passed to the native image builder using reachability-metadata.json
(conforming to reachability-metadata-schema-v1.2.0.json).
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
Modifier and TypeMethodDescriptionbuilder()This is useful also for resources from within the JDK itself.
-
Method Details
-
getIncludeGlobs
-
getModule
This is useful also for resources from within the JDK itself. Think e.g. some i18n files.- Returns:
- The Java module containing these resources, or null if on the unnamed module/classpath.
-
builder
-