Remove unnecessary removeIf usage

This commit is contained in:
Brady 2018-10-12 18:10:54 -05:00
parent 93286a646f
commit 416fea2aa5
No known key found for this signature in database
GPG Key ID: 73A788379A197567
2 changed files with 0 additions and 6 deletions

View File

@ -145,7 +145,6 @@ public class ProguardTask extends DefaultTask {
// Setup the template that will be used to derive the API and Standalone configs
List<String> 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));

View File

@ -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'