-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage of includes and excludes in custom resource-config.json fails native image build #4622
Comments
This config files don't have much to do with Micronaut, you should report the issue to the GraalVM issue tracker |
I don't think GraalVM is the problem, but I realized that my report was not clear. The problem occurs when the user configures its own When parsing user-specified As a consequence, Micronaut Gradle
GraalVM supports both formats (I checked by running GraalVM's To reproduce, one can include the following content in
Tnx |
Ah I see, understood. In general I think we need to move away from static resource generation with |
this functionality have been moved to the build plugins for 3.0 |
According to Graal documentation, the syntax of resource-config.json looks like the following:
However, when using this syntax with Micronaut, the native image task fails with a compilation error. The workaround is to use the alternative syntax which allows only includes:
I don't mind too much unavailability of the
excludes
clause, but I didn't found in Micronaut documentation anything about supported syntax.Tnx
The text was updated successfully, but these errors were encountered: