-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce Recaf artifact size #882
Labels
Comments
For fastutil, these are the classes we and transitive dependencies import.
Can probably do some basic analysis and see all the classes we need to support these uses and then toss everything else. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current size as of 2b3017f -
76 MB
Action items
-30 MB
Remove unusedfastutil
collection implementationsshadowJar
output filter for this-10 MB
Remove it + transitive dependenciesjavac
AST similiar to how OpenRewrite does things, but more lean-7 MB
Remove unused transitive dependencies-9 MB
Remove R8 in favor of dex-4 MB
Remove Jackson dependency and storeAndroidRes
data in JSON instead of XML-4 MB
Strip debug info from dependencies (after the above steps)Summary
Assuming all action items are taken (and best alternatives for multiple choice cases)
-53 MB
in potential removed data leading to a23 MB
fat-jarThe text was updated successfully, but these errors were encountered: