So, I want to add an external library to my project. The library itself is quite small, about 300 methods. But he is determined to be very liberal with his proguard configuration. I did a simple test with / without library and with / without proguard in the barebones project, and this is what I came up with
Proguard Lib Method Count
N N 15631
Y N 6370
N Y 15945
Y Y 15573
As you can see, with the proguard function turned on, the counter is ~ 6000. But at the moment I add lib, it counts arrows up to ~ 15000, despite the fact that the library itself consists of only 300 methods.
So my question is: how to ignore the proguard configuration of this particular library?
UPDATE:
Now it is impossible to connect to the android gradle plugin. I found an android error that has no priority at all. Please avoid answers that mention “this is not possible” and keep the question open until a workaround or formal solution is resolved. Otherwise, you get half the bounty without adding value. Thank you
source
share