proguard
proguard copied to clipboard
Apply -keepattributes for specific classes only
I have a class com.rubydesic.MyClass and I want to keep some attributes, such as RuntimeVisibleAnnotations or SourceFile, but only for this class. Is that possible?
Something like this, where there would be a third parameter for keepattributes:
-keepattributes RuntimeVisibleAnnotations,SourceFile com.rubydesic.MyClass