Is it even possible to keep selected Annotations with Proguard?
For instance I would like to remove all annotations from
javax.xml.bind.annotation.*
But keep all from from
org.mycompany.annotations.MyAnnotation
I was trying to tell to Proguard to keep annotetion like below but does not work at all.
-keep @interface org.mycompany.annotations.MyAnnotation
Or should I keepattributes Annotation and then remove somehow rest of not needed annotations?