Menu

#179 Provide simple artifact containing a few marker interface

Some sunny day
closed
feature (1)
5
2016-05-24
2016-05-24
No

Hello,

In a real-world large project I prefer that most of my classes that must not be obfuscated to implement explicitly a DoNotObfuscate interface (with no methods) rather than having to maintain a separated proguard conf file.
Therefore, I would find handy if proguard provided a new artifact on Maven Central containing a few pre-defined & pre-configured marker interface. Everybody accross projects could then use the same marker-interfaces.

For example, in my projects I have a "DoNotObfuscate" marker interface that allows me to have a single config line in the proguard config file.

Regards, Francois

Discussion

  • Eric Lafortune

    Eric Lafortune - 2016-05-24

    Hi Francois,

    You can find such annotation classes in proguard5.2.1/examples/annotations/lib/annotations.jar, next to the corresponding configuration annotations.pro, the source code, and some sample code. For example, there's an annotation proguard.annotation.Keep. The jar is not in Maven Central, because I consider it an example of similar annotations that you can create yourself.

    Regards,

    Eric

     
  • Eric Lafortune

    Eric Lafortune - 2016-05-24
    • status: open --> closed
    • assigned_to: Eric Lafortune
     

Log in to post a comment.

MongoDB Logo MongoDB