zeroturnaround / zt-zip

ZeroTurnaround ZIP Library
http://www.zeroturnaround.com/
Apache License 2.0
1.38k stars 252 forks source link

Add proguard rules for downstream consumption #152

Closed madisp closed 1 year ago

madisp commented 1 year ago

We use R8 to minify one of our CLI binaries and got bit by it as R8 decided to remove the ctor from the AsiExtraField class, resulting in the following crash:

Caused by: java.lang.RuntimeException: class S0.a is not a concrete class
    at S0.b.<clinit>(SourceFile:14)

This commit adds Proguard rules to the library jar so downstream minifier tools can pick them up automatically.