Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

feat: enable release optimizations #67

Merged
merged 1 commit into from
Jan 20, 2024
Merged

feat: enable release optimizations #67

merged 1 commit into from
Jan 20, 2024

Conversation

rushiiMachine
Copy link
Contributor

@rushiiMachine rushiiMachine commented Jan 17, 2024

  • Enable R8 full mode optimizations
    • This required converting the LSPatch jar to an aar
  • Use packageReleaseUniversalApk task instead (idk why it makes it even smaller)

All of this shrinks the release APK down to 10mb (-82%)

TODO:

  • get zip library update published to maven central (i will kill myself)

- Enable R8 full mode optimizations
  - This required converting the LSPatch jar to an aar
- Use packageReleaseUniversalApk task instead (idk why it makes it even smaller)

All of this shrinks the release APK down to 10mb (-82%)
android.nonTransitiveRClass=true
# Enable R8 full mode.
android.enableR8.fullMode=true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rushiiMachine rushiiMachine marked this pull request as ready for review January 17, 2024 23:37
@wingio wingio merged commit ed9fb6e into vendetta-mod:main Jan 20, 2024
1 check passed
@rushiiMachine rushiiMachine deleted the feat/optimize-apk branch January 20, 2024 03:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants