Skip to content

Commit 068369d

Browse files
committed
Introduce @RegisterResourceBundle and @RegisterResources
These annotations are used to register resources in native image
1 parent 3eb0757 commit 068369d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/deployment/src/main/java/io/quarkus/deployment/steps/RegisterResourcesBuildStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void build(CombinedIndexBuildItem combinedIndexBuildItem,
2929
}
3030
var excludePatternsValue = annotationInstance.value("excludePatterns");
3131
if (excludePatternsValue != null) {
32-
builder.excludeGlobs(excludePatternsValue.asStringArray());
32+
builder.excludePatterns(excludePatternsValue.asStringArray());
3333
}
3434
resources.produce(builder.build());
3535
}

0 commit comments

Comments
 (0)