I https://github.com/clojure-lsp/clojure-lsp/commit/0f0382de91ede9a67b7fff72c221375e66160735 to have the configs inside the META-INF folder, this way it's added to the jar, I think I'll make that for lsp4j
since I had a hard time with that in the past when compiling clojure-lsp, this way any lib using lsp4j will use the correct args/configs for graalvm OOTB ๐
@borkdude Do you think we should that for clj-kondo as well?
Maybe we should mention this https://www.graalvm.org/reference-manual/native-image/BuildConfiguration/#embedding-a-configuration-file of compiling with native-image
on the clj-graal-docs @lee?
Eventually more and more libs will have support for graalvm and doing this way make things work OOTB
Thatโs interesting @ericdallo ! I forget, did we go over what happens when multiple libs each have their own configs?
the graalvm docs mention you should organize it with a directory hierarchy of groupId and artifactId, but I don't know what happens if 2 libs set the same flag with different values ๐
But that's easy to repro, as soon you start to compiling, graalvm will print the flags used
yes