diff options
Diffstat (limited to 'examples/applications.pro')
-rw-r--r-- | examples/applications.pro | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/examples/applications.pro b/examples/applications.pro index 29d8e43..f718088 100644 --- a/examples/applications.pro +++ b/examples/applications.pro @@ -15,20 +15,29 @@ #-libraryjars jai_core.jar #... -# Preserve all public applications. +# 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. --keepclasseswithmembers public class * { - public static void main(java.lang.String[]); -} - -# Print out a list of what we're preserving. - --printseeds +-printmapping out.map +-renamesourcefileattribute SourceFile +-keepattributes SourceFile,LineNumberTable # Preserve all annotations. -keepattributes *Annotation* +# You can print out the seeds that are matching the keep options below. + +#-printseeds out.seeds + +# Preserve all public applications. + +-keepclasseswithmembers public class * { + public static void main(java.lang.String[]); +} + # Preserve all native method names and the names of their classes. -keepclasseswithmembernames class * { |