jinatonic / confetti

An Android particle system library for displaying confetti!
https://medium.com/@jinatonic/its-parfetti-time-f40634472608
Apache License 2.0
1.31k stars 151 forks source link

Library proguard rules #37

Open ptsiogas opened 6 years ago

ptsiogas commented 6 years ago

Hi there,

It would be extremely helpful if you could the the appropriate library proguard rules.

jinatonic commented 6 years ago

Can you elaborate on what proguard rules you would need? The library doesn't use any external dependency and reflection so proguard shouldn't be unnecessarily stripping out essential code.

ptsiogas commented 6 years ago

With proguard enabled the gradle build had errors. After adding the lines below in the proguard-rules file, the gradle build was successful.

-keep class org.kxml2.* { ; } -keep class org.xmlpull.* { ; }

Sorry for the late response, I had no time to investigate it any further.