-
Notifications
You must be signed in to change notification settings - Fork 26
/
bundled_with_scala_proguard.conf
86 lines (72 loc) · 1.93 KB
/
bundled_with_scala_proguard.conf
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
-injars target/scala-2.10/abandon-assembly-0.1.7.jar
-outjars target/scala-2.10/proguard_abandon-assembly-0.1.7.jar
-libraryjars <java.home>/lib/rt.jar
-libraryjars <java.home>/lib/jfxrt.jar
-dontoptimize
-dontwarn scala.**, scalafx.**
-verbose
-dontobfuscate
-flattenpackagehierarchy ''
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,LocalVariable*Table,*Annotation*,Synthetic,EnclosingMethod
-adaptresourcefilecontents **.fxml,**.properties,META-INF/MANIFEST.MF
-keepclassmembernames class * {
@javafx.fxml.FXML *;
}
# Keep - Applications. Keep all application classes, along with their 'main'
# methods.
-keepclasseswithmembers public class com.javafx.main.Main, co.uproot.abandon.Main {
public static void main(java.lang.String[]);
}
-keep public class co.uproot.abandon.AbandonUI
# Scala specific
-keepclassmembers class * {
** ctl;
** parkBlocker;
** runState;
** head;
** tail;
** sweepVotes;
** item;
** next;
** waiter;
** MODULE$;
** bytes();
}
-keep class scala.reflect.ScalaSignature
-keep class scala.reflect.api.Mirror
-keep class scala.Function*
-keep class scala.collection.GenSeq
-keep class scala.collection.generic.CanBuildFrom
-keep class scala.math.Ordering
-keep class scala.AnyVal
-keep class scala.Array
-keep class scala.Boolean
-keep class scala.Byte
-keep class scala.Char
-keep class scala.Double
-keep class scala.Float
-keep class scala.Int
-keep class scala.Long
-keep class scala.Short
-keep class scala.Unit
-keep class scala.Predef
-keep class scala.package
-keepclassmembers class co.uproot.** {
public *;
}
# -keep class scala.reflect.** {
# public protected *;
# }
#
# -keep class scala.Function*, scala.Tuple* {
# public protected *;
# }
#
# -keep class scala.collection.** {
# public protected *;
# }
# enumerations
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}