@dalb8: Agreed. I think this should go into the FAQ.
Use ProGuard for shrinking
Use ProGuard to reduce the size of binary builds. Also, all the unreferenced classes should be checked for problems/optimizations.
Cancelled for now because DAVdroid and especially its libraries rely heavily on reflection; removing “unused” methods will cause errors. Renaming/obfuscation is not needed, so there’s no need for ProGuard at all. Optimization should happen by removing dependencies.