diff --git a/buildSrc/src/main/java/baritone/gradle/ProguardTask.java b/buildSrc/src/main/java/baritone/gradle/ProguardTask.java index 4fec6392..c7d5662a 100644 --- a/buildSrc/src/main/java/baritone/gradle/ProguardTask.java +++ b/buildSrc/src/main/java/baritone/gradle/ProguardTask.java @@ -145,7 +145,6 @@ public class ProguardTask extends DefaultTask { // Setup the template that will be used to derive the API and Standalone configs List template = Files.readAllLines(getTemporaryFile(PROGUARD_CONFIG_DEST)); - template.removeIf(s -> s.endsWith("# this is the rt jar") || s.startsWith("-injars") || s.startsWith("-outjars")); template.add(0, "-injars " + this.artifactPath.toString()); template.add(1, "-outjars " + this.getTemporaryFile(PROGUARD_EXPORT_PATH)); diff --git a/scripts/proguard.pro b/scripts/proguard.pro index 261b47d1..4baa4b2a 100644 --- a/scripts/proguard.pro +++ b/scripts/proguard.pro @@ -1,7 +1,3 @@ --injars baritone-0.0.8.jar --outjars Obfuscated - - -keepattributes Signature -keepattributes *Annotation* @@ -29,7 +25,6 @@ -keep class baritone.launch.** { *; } # copy all necessary libraries into tempLibraries to build --libraryjars '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/rt.jar' # this is the rt jar -libraryjars 'tempLibraries/minecraft-1.12.2.jar'