clean.delete("eclipse");
clean.setGroup("Clean");
}
(project.getTasksByName("clean", false).toArray(new Task[0])[0]).dependsOn("cleanForge");
ObfuscateTask obf = makeTask("obfuscateJar", ObfuscateTask.class);
{
obf.setSrg(delayedFile(MCP_2_NOTCH_SRG));
obf.setExc(delayedFile(JOINED_EXC));
obf.setReverse(false);
obf.setPreFFJar(delayedFile(JAR_SRG_FORGE));
obf.setOutJar(delayedFile(REOBF_TMP));
obf.setBuildFile(delayedFile(ECLIPSE_FORGE + "/build.gradle"));
obf.setMethodsCsv(delayedFile(METHODS_CSV));
obf.setFieldsCsv(delayedFile(FIELDS_CSV));
obf.dependsOn("generateProjects", "extractForgeSources", "genSrgs");
}
GenBinaryPatches task3 = makeTask("genBinPatches", GenBinaryPatches.class);
{
task3.setCleanClient(delayedFile(Constants.JAR_CLIENT_FRESH));