task3.setPatch(delayedFile(DevConstants.MCP_PATCH_DIR));
task3.setAstyleConfig(delayedFile(DevConstants.ASTYLE_CFG));
task3.dependsOn("downloadMcpTools", "deobfuscateJar");
}
RemapSourcesTask remapTask = makeTask("remapCleanJar", RemapSourcesTask.class);
{
remapTask.setInJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
remapTask.setOutJar(delayedFile(DevConstants.REMAPPED_CLEAN));
remapTask.setMethodsCsv(delayedFile(DevConstants.METHODS_CSV));
remapTask.setFieldsCsv(delayedFile(DevConstants.FIELDS_CSV));
remapTask.setParamsCsv(delayedFile(DevConstants.PARAMS_CSV));
remapTask.setDoesCache(false);
remapTask.setNoJavadocs();
remapTask.dependsOn("decompile");
}
ProcessSrcJarTask task5 = makeTask("fmlPatchJar", ProcessSrcJarTask.class);
{
task5.setInJar(delayedFile(DevConstants.ZIP_DECOMP_FML));
task5.setOutJar(delayedFile(DevConstants.ZIP_PATCHED_FML));
task5.addStage("fml", delayedFile(DevConstants.FML_PATCH_DIR));
task5.setDoesCache(false);
task5.setMaxFuzz(2);
task5.dependsOn("decompile");
}
remapTask = makeTask("remapDirtyJar", RemapSourcesTask.class);
{
remapTask.setInJar(delayedFile(DevConstants.ZIP_PATCHED_FML));
remapTask.setOutJar(delayedFile(DevConstants.REMAPPED_DIRTY));
remapTask.setMethodsCsv(delayedFile(DevConstants.METHODS_CSV));
remapTask.setFieldsCsv(delayedFile(DevConstants.FIELDS_CSV));
remapTask.setParamsCsv(delayedFile(DevConstants.PARAMS_CSV));
remapTask.setDoesCache(false);
remapTask.setNoJavadocs();
remapTask.dependsOn("fmlPatchJar");
}
}