diff --git a/core/deployment/src/main/java/io/quarkus/deployment/SmallRyeConfigProcessor.java b/core/deployment/src/main/java/io/quarkus/deployment/SmallRyeConfigProcessor.java new file mode 100644 index 0000000000000..a50a7167de2d2 --- /dev/null +++ b/core/deployment/src/main/java/io/quarkus/deployment/SmallRyeConfigProcessor.java @@ -0,0 +1,14 @@ +package io.quarkus.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem; + +public class SmallRyeConfigProcessor { + + @BuildStep + NativeImageResourceBuildItem registerResources() { + // Accessed by SmallRye Config to load the default configuration + return new NativeImageResourceBuildItem("application.properties", "META-INF/microprofile-config.properties"); + } + +}