Skip to content

Conversation

@jbsession
Copy link
Collaborator

SES-1971

Initial minification and proguard rules setup.

@jbsession jbsession self-assigned this Oct 1, 2025
@jbsession jbsession marked this pull request as ready for review November 26, 2025 02:41
isDefault = true
isMinifyEnabled = false

isMinifyEnabled = true
Copy link
Collaborator

Choose a reason for hiding this comment

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

We shouldn't have anything set on debug as it should run without minification and obfuscation

@ThomasSession
Copy link
Collaborator

There are some repeated lines for jackson and a few redundant declarations throughout where -keep already does a lot of the work repeated in other lines.
The overall approach is still very broad so R8 won't be optimising too much as we are mostly keeping everything but it might be hard to optimise further.

getByName("debug") {
isDefault = true
isMinifyEnabled = false
proguardFiles(
Copy link
Collaborator

Choose a reason for hiding this comment

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

This can be removed in debug since we are not using R8 on debug builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants