forked from redwarp/9-Patch-Resizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard.txt
30 lines (23 loc) · 975 Bytes
/
proguard.txt
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
-injars Resizer_raw.jar
-outjars Resizer_proguard.jar
-libraryjars <java.home>/lib/rt.jar
-printmapping obfuscate/myapplication.map
-optimizationpasses 3
-overloadaggressively
-repackageclasses ''
-allowaccessmodification
-keep public class net.redwarp.tool.resizer.Main {
public static void main(java.lang.String[]);
}
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature
# For using GSON @Expose annotation
-keepattributes *Annotation*
# Gson specific classes
-keep class sun.misc.Unsafe { *; }
#-keep class com.google.gson.stream.** { *; }
# Application classes that will be serialized/deserialized over Gson
-keep class net.redwarp.tool.resizer.worker.ScreenDensity { *; }
##---------------End: proguard configuration for Gson ----------