Skip to content
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

Embed R8/ProGuard rules for native methods #536

Open
4 of 5 tasks
JakeWharton opened this issue Nov 21, 2024 · 3 comments
Open
4 of 5 tasks

Embed R8/ProGuard rules for native methods #536

JakeWharton opened this issue Nov 21, 2024 · 3 comments
Labels
enhancement New feature or request mosaic/terminal

Comments

@JakeWharton
Copy link
Owner

JakeWharton commented Nov 21, 2024

@JakeWharton
Copy link
Owner Author

Would be nice to add a JVM test variant which runs R8

@JakeWharton
Copy link
Owner Author

This is a huge pain in the ass.

R8 problems:

  • It does not filter out the contents of folders like it does jars, so the JNI libraries offend it. I would have to create a jar solely for it to immediately un-jar and apply the correct filtering rules.
  • It does not read embedded shrinker rules, neither in folders nor jars. WTF?

I didn't even get to running ProGuard yet...

@JakeWharton
Copy link
Owner Author

ProGuard produces a VerifyError. Sigh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mosaic/terminal
Projects
None yet
Development

No branches or pull requests

1 participant