krschultz / android-proguard-snippets

Proguard configurations for common Android libraries
http://www.kevinrschultz.com/blog/2014/02/15/proguard-with-gradle/
Apache License 2.0
4.59k stars 598 forks source link

annotations should be kept #114

Open tlimp opened 8 years ago

tlimp commented 8 years ago

issues like #19 is fixed by keeping all name from the annotations package (could sure be optimized but I'm not that deep into this stuff) for custom pojos one has to keep the public setters and getters. I kept the original proguard config since I do not know if it's needed in any other case. (in my project using custom pojos they were not necessary)

The -dontwarn lines were needed since proguard kept complaining about those and my builds therefore failed.