-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproguard.cfg
70 lines (70 loc) · 3.07 KB
/
proguard.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#setting for idea
-dontwarn scala.**
-dontnote scala.**
#-dontwarn com.douban.common.**
-dontwarn scala.collection.**
-dontwarn org.scaloid.**
-dontwarn com.google.**
-keep class com.douban.common.**
-keep class com.douban.book.**
-keep class com.douban.base.** { *; }
-keep class com.douban.models.**
-keep class uk.co.senab.photoview.**
#-keep class android.support.v4.**
-keep class com.google.gson.internal.LinkedTreeMap.**
#common setting
-verbose
-dontobfuscate
#-dontoptimize
-printseeds target/keep.log
-printusage target/usage.log
-printmapping target/obf.log
-keepparameternames
-dontskipnonpubliclibraryclasses
-dontskipnonpubliclibraryclassmembers
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-keepclassmembers class * { ** MODULE$; }
#-keepdirectories
-keep class scala.runtime.ObjectRef
-keep class scala.runtime.VolatileObjectRef
-keep class scala.reflect.Manifest
-keep class scala.reflect.ClassTag
-keep class scala.reflect.ClassManifestDeprecatedApis*
-keep class scala.collection.mutable.ArrayBuffer
-keep class scala.math.Ordering
-keep class org.scaloid.common.SActivity
-keep class org.scaloid.common.SContext
-keep class org.scaloid.common.Registerable
-keep class org.scaloid.common.LoggerTag
-keep class android.support.v4.app.Fragment
-keep public class scala.Option
-keep public class scala.PartialFunction
-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.GenSeq
-keep public class scala.collection.immutable.List
-keep public class scala.collection.immutable.Map
-keep public class scala.collection.SeqLike {public protected *;}
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Fragment
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.appwidget.AppWidgetProvider
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.preference.Preference
-keep public class * extends android.view.View
-keepclasseswithmembernames class * {native <methods>;}
-keepclasseswithmembers class * {public <init>(android.content.Context, android.util.AttributeSet);}
-keepclasseswithmembers class * {public <init>(android.content.Context, android.util.AttributeSet, int);}
-keepclassmembers class * extends android.app.Activity { public void *(android.view.View);}
-keepclassmembers class * extends com.douban.base.DoubanActivity
-keepclassmembers class * extends com.douban.base.DoubanFragment
-keepclassmembers class * extends com.douban.base.DoubanListFragment
-keepclassmembers enum * {public static **[] values();public static ** valueOf(java.lang.String);}
-keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *;}