3 ms·
Does someone know of a good tree-shaking packager for Java? Something that builds a jar (or a directory) with only the needed .class files (or even better, vers
by norswap 12y ago
Does someone know of a good tree-shaking packager for Java? Something that builds a jar (or a directory) with only the needed .class files (or even better, versions of the .class files with the used functions)?
Looks like it would perfectly complement this project.
- TacticalCoder 12y agoProguard exists since many years and does optimization, shrinking, unused classes and unused methods removal etc. Even obfuscation if you want. It's been a long time I haven't used it but back in the days I used it for years as part of the build chain and it was pretty flawless. As I understand it nowadays it's even used for Android builds.