Switched from DashO (commercial, old, crufty) to Proguard (free, new,
sexy) for our download-size optimization.
This commit is contained in:
@@ -1,72 +0,0 @@
|
||||
;
|
||||
; DashO-Pro Configuration File for Getdown launcher
|
||||
;
|
||||
|
||||
-Version:
|
||||
2.3
|
||||
|
||||
-MapFile:
|
||||
./dasho.map
|
||||
|
||||
-ReportFile:
|
||||
./dasho.rpt
|
||||
|
||||
-ClassPath:
|
||||
/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
|
||||
/usr/local/java/jre/lib/rt.jar
|
||||
dist/classes
|
||||
lib/jRegistryKey.jar
|
||||
../../projects/samskivert/dist/samskivert.jar
|
||||
../../lib/commons-io.jar
|
||||
../../lib/javaws.jar
|
||||
|
||||
-Destination:
|
||||
./dclasses
|
||||
|
||||
-TriggerFields:
|
||||
|
||||
-TriggerMethods:
|
||||
com.threerings.getdown.launcher.Getdown:main:java.lang.String[]
|
||||
|
||||
-RemoveUnusedElements:
|
||||
;none
|
||||
;onlynonpublics
|
||||
all
|
||||
|
||||
-ExcludePackages:
|
||||
javax.*
|
||||
|
||||
-ExcludeMethods:
|
||||
|
||||
-IncludeClassesUnconditional:
|
||||
ca.beq.util.win32.registry.RegistryException
|
||||
ca.beq.util.win32.registry.RegistryKey
|
||||
ca.beq.util.win32.registry.RegistryValue
|
||||
ca.beq.util.win32.registry.RootKey
|
||||
ca.beq.util.win32.registry.ValueIterator
|
||||
ca.beq.util.win32.registry.ValueType
|
||||
|
||||
-General:
|
||||
nomakepublic
|
||||
fornamedetection
|
||||
;ignorenotfoundclasses
|
||||
;includesun
|
||||
leavedebugginginfo
|
||||
|
||||
-RenameOptions:
|
||||
;OFF
|
||||
;ONLYNONPUBLICS
|
||||
ON
|
||||
|
||||
-RenamePrefix:
|
||||
(keeppackages)
|
||||
;(verbatim)
|
||||
|
||||
-OptimizationType:
|
||||
none
|
||||
;speed
|
||||
;size
|
||||
|
||||
-IncludeNonClassFiles:
|
||||
dist/classes
|
||||
../../lib/javaws.jar
|
||||
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Proguard configuration file for Getdown launcher
|
||||
|
||||
-injars dist/getdown.jar(!**/tools/DigesterTask*)
|
||||
-injars lib/jRegistryKey.jar
|
||||
-injars lib/samskivert.jar(!**/velocity/**,!**/xml/**)
|
||||
-injars lib/commons-io.jar
|
||||
-injars lib/javaws.jar(com/sun/javaws/jardiff/**,com/sun/javaws/cache/Patcher*)
|
||||
|
||||
-libraryjars <java.home>/lib/rt.jar
|
||||
|
||||
-outjars dist/getdown-pro.jar
|
||||
|
||||
-keep public class ca.beq.util.win32.registry.** {
|
||||
public protected *;
|
||||
}
|
||||
|
||||
-keep public class com.threerings.getdown.launcher.Getdown {
|
||||
public static void main (java.lang.String[]);
|
||||
}
|
||||
Reference in New Issue
Block a user