This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.pro
190 lines (157 loc) · 6.78 KB
/
build.pro
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
#
# Proguard config file for GeoGebra
#
#
-ignorewarnings
-injars build/geogebra.jar
-injars build/geogebra_main.jar
-injars build/geogebra_gui.jar
-injars build/geogebra_export.jar
-injars build/geogebra_algos.jar
-injars build/geogebra_cas.jar
-injars build/geogebra_3d.jar
-injars build/geogebra_usb.jar
-injars build/jlatexmath.jar
-outjars build/temp
# libraries
-libraryjars ../java150-rt.jar
-libraryjars lib/build/lib_jsobject.jar
-libraryjars lib/build/lib_mac_extensions.jar
-libraryjars lib/build/jogl1/jar/jogl.jar
-libraryjars lib/build/jogl1/jar/gluegen-rt.jar
#-libraryjars jlatexmath.jar
# Rhino Javascript is not obfuscated
-libraryjars build/geogebra_javascript.jar
-dontoptimize
-allowaccessmodification
-overloadaggressively
# needed for eg StringBuilder.setLength()
# see http://proguard.sourceforge.net/manual/troubleshooting.html
-dontskipnonpubliclibraryclasses
#-printmapping geogebra.map
#-applymapping geogebra3-2-0-0.map
# Keep GeoGebra application
-keep class geogebra.GeoGebra {
public static void main(java.lang.String[]);
}
## enums
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
# Keep GeoGebra3D application
-keep class geogebra.GeoGebra3D {
public static void main(java.lang.String[]);
}
# Keep GeoGebra applet
-keep class geogebra.GeoGebraApplet {
public <methods>;
}
# Keep GeoGebraAppletPreloader
-keep class geogebra.GeoGebraAppletPreloader {
public <methods>;
}
# Keep GeoGebraPanel
-keep class geogebra.GeoGebraPanel {
public <methods>;
}
# Keep Moodle plugin
-keep class geogebra.GeoGebraMoodleApplet {
public <methods>;
}
# see META-INF/services
-keep class org.freehep.graphicsio.raw.RawImageWriterSpi { <methods>; }
# needed so that hoteqn can find Des12.gif, etc.
#-keep class geogebra.gui.hoteqn.SymbolLoader { <methods>; }
# JLaTeXMath uses reflection
-keep class org.scilab.forge.jlatexmath.* { <methods>; }
# MathPiper / JAS interaction
-keep class org.mathpiper.builtin.library.jas.* { <methods>; }
-keep class org.mathpiper.builtin.javareflection.* { <methods>; }
-keep class edu.jas.poly.* { <methods>; }
# Jasymca uses reflection to create functions like LambaSIN
#-keep class jasymca.Lambda* {}
# Rhino Javascript
#-keep class org.mozilla.classfile.* { }
#-keep class org.mozilla.javascript.* { }
#-keep class org.mozilla.javascript.jdk13.* { }
#-keep class org.mozilla.javascript.jdk15.* { }
#-keep class org.mozilla.javascript.optimizer.* { }
#-keep class org.mozilla.javascript.regexp.* { }
#-keep class org.mozilla.javascript.serialize.* { }
#-keep class org.mozilla.javascript.xml.* { }
# supress foxtrot error messages
-keep class java.util.LinkedList { java.lang.Object getFirst(); }
-keep class java.lang.Object { java.lang.Object list; }
-keep class geogebra.gui.virtualkeyboard.VirtualKeyboard { public static void main(java.lang.String[]); }
## USB library uses reflection, see JavaDeviceFactory
-keep class org.concord.sensor.pseudo.PseudoSensorDevice { <methods>; }
-keep class org.concord.sensor.nativelib.NativeVernierSensorDevice { <methods>; }
-keep class org.concord.sensor.vernier.labpro.LabProSensorDevice { <methods>; }
-keep class org.concord.sensor.vernier.labquest.LabQuestSensorDevice { <methods>; }
-keep class org.concord.sensor.nativelib.NativeTISensorDevice { <methods>; }
-keep class org.concord.sensor.dataharvest.DataHarvestSensorDevice { <methods>; }
-keep class org.concord.sensor.pasco.SW500SensorDevice { <methods>; }
-keep class org.concord.sensor.pasco.AirLinkSensorDevice { <methods>; }
-keep class org.concord.sensor.pasco.PascoUsbSensorDevice { <methods>; }
-keep class org.concord.sensor.cc.CCInterface0 { <methods>; }
-keep class org.concord.sensor.cc.CCInterface1 { <methods>; }
-keep class org.concord.sensor.cc.CCInterface2 { <methods>; }
-keep class org.concord.sensor.SensorConfig { <methods>; }
-keep class org.concord.sensor.impl.ExperimentConfigImpl { <methods>; }
-keep class org.concord.sensor.ExperimentRequest { <methods>; }
-keep class org.concord.sensor.device.DeviceReader { <methods>; }
-keep class ccsd.vernier.ExperimentConfig { <methods>; }
-keep class ccsd.vernier.NativeBridge { <methods>; }
-keep class ccsd.vernier.NativeBridgeConstants { <methods>; }
-keep class ccsd.vernier.NativeBridgeJNI { <methods>; }
-keep class ccsd.vernier.SensorConfig { <methods>; }
-keep class ccsd.vernier.SensorParam { <methods>; }
-keep class ccsd.vernier.SWIGTYPE_p_float { <methods>; }
-keep class ccsd.vernier.SWIGTYPE_p_p_ExperimentConfig { <methods>; }
-keep class ccsd.vernier.SWIGTYPE_p_SensorParam { <methods>; }
-keep class ccsd.vernier.SWIGTYPE_p_void { <methods>; }
#####
# Plugin part
####
-keep class geogebra.plugin.GgbAPI { <methods>; }
# -keep public class * {
# public protected *;
# }
#-keep class geogebra.gui.util.BrowserLauncher { <methods>; }
-keep class geogebra.plugin.PlugLetIF { <methods>; }
#-keep class geogebra.MyFileFilter { <methods>; }
#-keep class geogebra.Application { <methods>; }
#-keep class geogebra.kernel.Construction { <methods>; }
#-keep class geogebra.kernel.ConstructionElement { <methods>; }
#-keep class geogebra.kernel.AlgoElement { <methods>; }
#-keep class geogebra.kernel.arithmetic.Equation { <methods>; }
#-keep class geogebra.kernel.arithmetic.ExpressionNode { <methods>; }
#-keep class geogebra.kernel.arithmetic.ExpressionValue { <methods>; }
#-keep class geogebra.kernel.arithmetic.Function { <methods>; }
#-keep class geogebra.kernel.arithmetic.NumberValue { <methods>; }
#-keep class geogebra.kernel.Dilateable { <methods>; }
#-keep class geogebra.kernel.GeoBoolean { <methods>; }
#-keep class geogebra.kernel.GeoConic { <methods>; }
#-keep class geogebra.kernel.GeoCurveCartesian { <methods>; }
#-keep class geogebra.kernel.GeoDeriveable { <methods>; }
#-keep class geogebra.kernel.GeoElement { <methods>; }
#-keep class geogebra.kernel.GeoFunction { <methods>; }
#-keep class geogebra.kernel.GeoImage { <methods>; }
#-keep class geogebra.kernel.GeoLine { <methods>; }
#-keep class geogebra.kernel.GeoList { <methods>; }
#-keep class geogebra.kernel.GeoNumeric { <methods>; }
#-keep class geogebra.kernel.GeoPoint { <methods>; }
#-keep class geogebra.kernel.GeoPolygon { <methods>; }
#-keep class geogebra.kernel.GeoSegment { <methods>; }
#-keep class geogebra.kernel.GeoText { <methods>; }
#-keep class geogebra.kernel.GeoVec3D { <methods>; }
#-keep class geogebra.kernel.GeoVector { <methods>; }
#-keep class geogebra.kernel.Kernel { <methods>; }
#-keep class geogebra.kernel.Macro { <methods>; }
#-keep class geogebra.kernel.Mirrorable { <methods>; }
#-keep class geogebra.kernel.Path { <methods>; }
#-keep class geogebra.kernel.PointRotateable { <methods>; }
#-keep class geogebra.kernel.Rotateable { <methods>; }
#-keep class geogebra.kernel.Translateable { <methods>; }
#-keep class org.freehep.graphics2d.TagString { <methods>; }