I have a project that contains a file extra-config.properties
in src/main/resources
which I reference in my code using:
getClass().getClassLoader().getResourceAsStream("extra-config.properties"))
This works perfectly in JVM mode, but when I build a native image the file is not accessible, because it is not included in the binary.
How can I instruct Quarkus to include it?