mirror of
https://github.com/etesync/android
synced 2024-11-27 02:18:11 +00:00
abc15f01d8
I was trying to avoid it, and keep it as davdroid both for attribution, and making it easy to cherry-pick fixes from DAVdroid. However, it seems to be causing clashes with the davdroid app, although every piece of documentation claims otherwise.[1] At least it seems like cherry-picks can still be achieved using: git cherry-pick -s recursive -X find-renames=30 COMMIT 1. https://developer.android.com/studio/build/application-id.html (one such doc)
46 lines
1.8 KiB
Plaintext
46 lines
1.8 KiB
Plaintext
|
|
# ProGuard usage for DAVdroid:
|
|
# 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
|
|
-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
|
|
-keep,includedescriptorclasses class ezvcard.property.** { *; } # keep all VCard properties (created at runtime)
|
|
|
|
# ical4j: ignore unused dynamic libraries
|
|
-dontwarn aQute.**
|
|
-dontwarn groovy.** # Groovy-based ContentBuilder not used
|
|
-dontwarn org.codehaus.groovy.**
|
|
-dontwarn net.fortuna.ical4j.model.** # ignore warnings from Groovy dependency
|
|
-keep,includedescriptorclasses class net.fortuna.ical4j.** { *; } # keep all model classes (properties/factories, created at runtime)
|
|
|
|
# okhttp
|
|
-dontwarn java.nio.file.** # not available on Android
|
|
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
|
|
-dontnote com.android.org.conscrypt.SSLParametersImpl
|
|
-dontnote org.apache.harmony.xnet.provider.jsse.SSLParametersImpl
|
|
-dontnote dalvik.system.CloseGuard
|
|
-dontnote sun.security.ssl.SSLContextImpl
|
|
|
|
# DAVdroid + libs
|
|
-keep,includedescriptorclasses class syncadapter.** { *; } # all DAVdroid code and deps are required
|
|
|
|
# gson
|
|
-dontnote sun.misc.Unsafe # not available on Android
|
|
|
|
# Spongcastle
|
|
-dontwarn org.spongycastle.jce.provider.X509LDAPCertStoreSpi
|
|
-dontwarn org.spongycastle.x509.util.LDAPStoreHelper
|