In JDK there is jlink command that can create jre with only modules needed for application jar.
I wonder if it possible to optimize more by including those jre deps with application jar in proguard/r8 process?
👀 1
m
mikehearn
10/13/2025, 3:05 PM
That used to be how it was done but post-jlink, the answer is nobody does it anymore. It was at any rate quite tricky for not much savings
p
PHondogo
10/13/2025, 3:33 PM
Hello, Mike! Thanks for reply!
I know that it can be not safe, just want to make experiment.
What is post-jlink? Is it a project? Can't find it by googling.