Skip to content

Commit

Permalink
improve proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
ymasory committed Apr 21, 2012
1 parent f025771 commit e7c0f47
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
*.ipr
*.iws
target
.DS_Store
.cache
.classpath
.project
19 changes: 16 additions & 3 deletions proguard.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e7c0f47

Please sign in to comment.