Provide simple artifact containing a few marker interface
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
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
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