Menu

#172 Publish 'annotations.jar' on maven

Some sunny day
open
maven (1)
5
2015-05-23
2015-05-22
No

Publishing an 'official' proguard annotations jar on maven would be useful. It would prevent the need to either:

  • build your own annotations jar separately
  • bundle the annotions jar
  • keep the annotations in your jar (since w/o preserving the annotations, proguard strips them out before they are looked at for other 'keep' rules)

I understand it is an "example" but it seems quite complete and useful to officially support.

Discussion

  • Eric Lafortune

    Eric Lafortune - 2015-05-23

    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.

     
  • Eric Lafortune

    Eric Lafortune - 2015-05-23
    • assigned_to: Eric Lafortune
     

Log in to post a comment.