diff options
author | Sadaf Ebrahimi <sadafebrahimi@google.com> | 2024-03-18 16:14:43 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-03-18 16:14:43 +0000 |
commit | b956aa205b341677038bd599a78bc8173b7b4bad (patch) | |
tree | 864c52fff91ada9d6a095df9ed49786356575bf6 /examples/proguardall.pro | |
parent | ff9c0adb6dd6dc100776b29aca8bf7e8a8cf4969 (diff) | |
parent | 517437ecee41d115457a744f14c6aa0ed5006027 (diff) | |
download | proguard-b956aa205b341677038bd599a78bc8173b7b4bad.tar.gz |
Diffstat (limited to 'examples/proguardall.pro')
-rw-r--r-- | examples/proguardall.pro | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/examples/proguardall.pro b/examples/proguardall.pro deleted file mode 100644 index b96da6c..0000000 --- a/examples/proguardall.pro +++ /dev/null @@ -1,72 +0,0 @@ -# -# This ProGuard configuration file illustrates how to process ProGuard -# (including its main application, its GUI, its Ant task, and its WTK plugin), -# and the ReTrace tool, all in one go. -# Configuration files for typical applications will be very similar. -# Usage: -# java -jar proguard.jar @proguardall.pro -# - -# Specify the input jars, output jars, and library jars. -# We'll read all jars from the lib directory, process them, and write the -# processed jars to a new out directory. - --injars ../lib --outjars out - -# You may have to adapt the paths below. - --libraryjars <java.home>/lib/rt.jar --libraryjars /usr/local/java/ant/lib/ant.jar --libraryjars /usr/local/java/gradle-1.3/lib/plugins/gradle-plugins-1.3.jar --libraryjars /usr/local/java/gradle-1.3/lib/gradle-base-services-1.3.jar --libraryjars /usr/local/java/gradle-1.3/lib/gradle-core-1.3.jar --libraryjars /usr/local/java/gradle-1.3/lib/groovy-all-1.8.6.jar --libraryjars /usr/local/java/wtk2.5.2/wtklib/kenv.zip - -# Allow methods with the same signature, except for the return type, -# to get the same obfuscation name. - --overloadaggressively - -# Put all obfuscated classes into the nameless root package. - --repackageclasses '' - -# Adapt the names and contents of the resource files. - --adaptresourcefilenames **.properties,**.gif,**.jpg --adaptresourcefilecontents proguard/ant/task.properties - -# The main entry points. - --keep public class proguard.ProGuard { - public static void main(java.lang.String[]); -} - --keep public class proguard.gui.ProGuardGUI { - public static void main(java.lang.String[]); -} - --keep public class proguard.retrace.ReTrace { - public static void main(java.lang.String[]); -} - -# If we have ant.jar, we can properly process the Ant task. - --keep,allowobfuscation class proguard.ant.* --keepclassmembers public class proguard.ant.* { - <init>(org.apache.tools.ant.Project); - public void set*(***); - public void add*(***); -} - -# If we have the Gradle jars, we can properly process the Gradle task. - --keep public class proguard.gradle.* { - public *; -} - -# If we have kenv.zip, we can process the J2ME WTK plugin. - --keep public class proguard.wtk.ProGuardObfuscator |