Replies: 1 comment
-
Hi @sxilderik, producing a smaller JAR that contains only a selected subset of languages is not yet supported. I might try to add support for this in some later version but I can't tell you when. In the Rust implementation of my library you can select the languages you want to download and use because Rust supports conditional compilation. With Rust, it was easy to do. With Java, it isn't, unfortunately. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I added lingua to my project, to later find it added 160 MB in the final war.
Since I only use a small subset of the detected languages, is it possible to build a lighter jar containing only these languages?
I know I can tamper with the existing code and build files, but I wonder if there is a more supported way of achieving this?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions