From e7c0f47bbe576da8514fec5ea9bb517ecfdca001 Mon Sep 17 00:00:00 2001 From: ymasory Date: Sat, 21 Apr 2012 03:41:18 -0400 Subject: [PATCH] improve proguard --- .gitignore | 8 ++++++++ proguard.cfg | 19 ++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0c615ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +*.iml +*.ipr +*.iws +target +.DS_Store +.cache +.classpath +.project diff --git a/proguard.cfg b/proguard.cfg index 1158962..8c67ee3 100755 --- a/proguard.cfg +++ b/proguard.cfg @@ -1,18 +1,31 @@ -dontobfuscate -dontoptimize -dontpreverify --dontwarn +-dontwarn scala.** + +-dontnote javax.xml.** +-dontnote org.acra.DeviceFeaturesCollector +-dontnote org.w3c.dom.** +-dontnote org.xml.sax.** -dontnote scala.Enumeration --dontnote org.xml.sax.EntityResolver + +-keep public class com.example.** { public protected *; } -keep public class scala.Option -keep public class scala.Function0 -keep public class scala.Function1 +-keep public class scala.Function2 +-keep public class scala.Product +-keep public class scala.Tuple2 + -keep public class scala.collection.Seq --keep public class scala.collection.immutable.Map -keep public class scala.collection.immutable.List +-keep public class scala.collection.immutable.Map +-keep public class scala.collection.immutable.Seq +-keep public class scala.collection.immutable.Set -keep public class scala.collection.immutable.Vector + -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service