Publish 'annotations.jar' on maven
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
Publishing an 'official' proguard annotations jar on maven would be useful. It would prevent the need to either:
I understand it is an "example" but it seems quite complete and useful to officially support.
Thanks for your suggestion. It's nice to hear that the annotations are useful, even if they are intended as examples indeed. The jar is pretty meaningless without the corresponding ProGuard configuration, so that would probably have to be included somehow. Uploading to Maven Central also involves some annoying manual overhead, but it might be acceptable as part of ordinary releases.
Note that you don't need to preserve the annotations if you specify them with -libraryjars instead of -injars. They then also don't pollute the code as much.