From 02b353b4857e4c4e4b7dfcfded16db83938dc19d Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 18 Oct 2012 17:42:12 +1100 Subject: [PATCH] Run jar through proguard (don't obfuscate) to crush it down to 300kb --- pom.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 47 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index d087e74bc..a3e5e6a0c 100644 --- a/pom.xml +++ b/pom.xml @@ -28,9 +28,6 @@ md_5 - - mbaxter - @@ -64,14 +61,24 @@ + + com.google.code.findbugs + jsr305 + 2.0.1 + com.google.guava guava 13.0.1 + + net.md-5 + mc-protocol-lib + 1.0-SNAPSHOT + org.bouncycastle - bcprov-jdk15on + bcprov-ext-jdk15on 1.47 @@ -85,11 +92,6 @@ 0.11.4 provided - - net.md-5 - mc-protocol-lib - 1.0-SNAPSHOT - @@ -163,14 +165,47 @@ *:* - META-INF/*.SF - META-INF/*.DSA + **/*.java + **/*.properties + **/*.SF + **/*.DSA - true + + com.github.wvengen + proguard-maven-plugin + 2.0.6 + + + package + + proguard + + + + + true + false + + ${java.home}/lib/rt.jar + ${java.home}/lib/jce.jar + + false + + + + + + + net.sf.proguard + proguard-base + 4.8 + + +