Fork 0
Commit Graph

2 Commits (69a9aeebae193107ba122bf60e5b60386666d85b)

Author SHA1 Message Date
Jan-Erik Rediger 98bf27fdd4 Proguard/r8: Do not allow access modification.
This optimization pass changes internals to become public and thus JNA trying to read their "native size".
This is a bug in R8 (the optimizer in use).

Upstream bug report: https://issuetracker.google.com/issues/157535162,
which is a duplicate of

Bug fix: https://r8-review.googlesource.com/c/r8/+/51323/
This fix will be available in r8 v2.1.28, probably getting released next week or so.
2020-05-29 10:25:27 -07:00
Jan-Erik Rediger 88fe3fbf82 Dump `proguard-android-optimize.txt` into local configuration for later modification
This was achived by:

* Adding `-printconfiguration r8.txt` to `proguard-rules.pro`
* Copying the part from start of `r8.txt` to before the `-printconfiguration` line into its own file.

This gets us exactly what was used in the bundled version.
2020-05-29 10:25:27 -07:00