summaryrefslogtreecommitdiff
path: root/examples/applets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/applets.pro')
-rw-r--r--examples/applets.pro21
1 files changed, 6 insertions, 15 deletions
diff --git a/examples/applets.pro b/examples/applets.pro
index c5affc1..ee90db0 100644
--- a/examples/applets.pro
+++ b/examples/applets.pro
@@ -11,26 +11,17 @@
-libraryjars <java.home>/lib/rt.jar
-# Save the obfuscation mapping to a file, so you can de-obfuscate any stack
-# traces later on. Keep a fixed source file attribute and all line number
-# tables to get line numbers in the stack traces.
-# You can comment this out if you're not interested in stack traces.
-
--printmapping out.map
--renamesourcefileattribute SourceFile
--keepattributes SourceFile,LineNumberTable
-
-# Preserve all annotations.
+# Preserve all public applets.
--keepattributes *Annotation*
+-keep public class * extends java.applet.Applet
-# You can print out the seeds that are matching the keep options below.
+# Print out a list of what we're preserving.
-#-printseeds out.seeds
+-printseeds
-# Preserve all public applets.
+# Preserve all annotations.
--keep public class * extends java.applet.Applet
+-keepattributes *Annotation*
# Preserve all native method names and the names of their classes.