1
0
mirror of https://github.com/etesync/android synced 2024-12-24 15:38:09 +00:00
etesync-android/app/proguard-rules.txt

38 lines
1.4 KiB
Plaintext
Raw Normal View History

# ProGuard usage for DAVdroid:
2016-10-17 22:30:37 +00:00
# shrinking yes (main reason for using ProGuard)
# optimization yes
# obfuscation no (DAVdroid is open-source)
# preverification no
-dontobfuscate
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
-optimizationpasses 5
-allowaccessmodification
-dontpreverify
# ez-vcard
2016-10-17 22:30:37 +00:00
-dontwarn ezvcard.io.json.** # JSON serializer (for jCards) not used
-dontwarn freemarker.** # freemarker templating library (for creating hCards) not used
-dontwarn org.jsoup.** # jsoup library (for hCard parsing) not used
-dontwarn sun.misc.Perf
2016-10-17 22:30:37 +00:00
-keep class ezvcard.property.** { *; } # keep all VCard properties (created at runtime)
# ical4j: ignore unused dynamic libraries
-dontwarn aQute.**
2016-10-17 22:30:37 +00:00
-dontwarn groovy.** # Groovy-based ContentBuilder not used
-dontwarn org.codehaus.groovy.**
2016-10-17 22:30:37 +00:00
-dontwarn net.fortuna.ical4j.model.** # ignore warnings from Groovy dependency
-keep class net.fortuna.ical4j.** { *; } # keep all model classes (properties/factories, created at runtime)
# okhttp
2016-10-17 22:30:37 +00:00
-dontwarn java.nio.file.** # not available on Android
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
# dnsjava
2016-10-17 22:30:37 +00:00
-dontwarn sun.net.spi.nameservice.** # not available on Android
# DAVdroid + libs
2016-10-17 22:30:37 +00:00
-keep class at.bitfire.** { *; } # all DAVdroid code is required