Reputation: 905
Just a quick question, since the documentation is unclear on the matter. If you don't specify arguments for -keepattributes in ProGuard, will it keep all attributes, no attributes, or some standard attributes?
Thanks! -Vic
Upvotes: 1
Views: 350
Reputation: 45686
-keepattributes without arguments keeps all attributes. It's a bit unusual maybe, since it could include unimportant or even unknown attributes. Attributes that are not known to ProGuard might become invalid if they require updating in some processing step.
Upvotes: 2