#  proguard-rules-ical4j.txt
#

###############
# ical4j also contains groovy code which is not used in android
-dontwarn groovy.**
-dontwarn org.codehaus.groovy.**

-keep class net.fortuna.ical4j.validate.**
-keep class net.fortuna.ical4j.model.**

###############
# Get rid of #can't find referenced method in library class java.lang.Object# warnings for clone() and finalize()
# Warning: net.fortuna.ical4j.model.CalendarFactory: can't find referenced method 'void finalize()' in library class java.lang.Object
# Warning: net.fortuna.ical4j.model.ContentBuilder: can't find referenced method 'java.lang.Object clone()' in library class java.lang.Object
# for details see http://stackoverflow.com/questions/23883028/how-to-fix-proguard-warning-cant-find-referenced-method-for-existing-methods
-dontwarn net.fortuna.ical4j.model.**

-dontwarn com.sun.mail.**
-dontwarn java.awt.**
-dontwarn javax.cache.**
-dontwarn com.sun.activation.**
-dontwarn javax.activation.**
-dontwarn javax.security.sasl.**