Include all swagger-ui resources on GraalVM#22
Conversation
|
This should be fine. Can you point me to some GraalVM documentation for this argument and what does it do? |
|
Swagger-ui resources are not included into native-image. With the https://www.graalvm.org/reference-manual/native-image/Resources/ |
|
https://www.graalvm.org/reference-manual/native-image/BuildConfiguration/
I'm trying to understand what is the practice with libraries regarding this configuration. That page mentions "a project JAR," but I'm not sure if it means "a project" as in the consumer app or includes libraries. But based on discussion from a Graal issue (oracle/graal#2535) and libraries like ojdbc and okhttp (https://github.com/square/okhttp/tree/master/okhttp/src/main/resources/META-INF/native-image/okhttp/okhttp), it does indeed seem to be normal for libs to include configuration for themselves. |
|
The libraries in general should ship their own Anyway for above mentioned cases we have https://github.com/clj-easy/graal-config. |
|
This change is now deployed in versions 3.52.3 and 3.46.0-1. |
No description provided.