Re: [ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-02-11 Thread Kimmo Koskinen
Just whistling in that there's a project, that has tree-shaker similar to proguard, but written (partly) in Clojure: https://github.com/portkey-cloud/portkey Portkey has been a bit dormant for a while, but we had some success as minimizing amount of bytecode that's shipped to AWS Lambda, to

[ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-31 Thread Didier
This is awesome! I'll definitly give it a shot. Thanks for putting it together. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be

Re: [ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-31 Thread Ning Sun
Hi Laurens, I haven't got chance to play with proguard. I doubt of it works well with non-Android projects. For now I think the best method is to keep you dependency tree from bloated. On January 31, 2018 12:09:57 AM GMT+08:00, Laurens Van Houtven <_...@lvh.io> wrote: >This is great! Thanks

Re: [ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-30 Thread Laurens Van Houtven
This is great! Thanks Ning! Do you have any experience/pointers/projects around reducing deployable size on the code side (as opposed to runtime)? They seem like very related concerns. I've messed with proguard but it mostly seems to be great at producing jars that are 10% of the size and don't

[ANN] lein-jlink: A leiningen plugin for custom JRE creation

2018-01-30 Thread Ning Sun
Hi clojurians, I just created a Leiningen plugin that creates custom Java Runtime Environment based on you configuration. The custom JRE can be as small as 29MB, and it's fully capable to run a Ring web app. With this plugin: 0. You can test your Clojure application against the custom JRE; 1.