task.from(delayedFile(DevConstants.REMAPPED_CLEAN));
task.into(delayedFile(DevConstants.ECLIPSE_CLEAN_RES));
task.dependsOn("extractWorkspace", "remapCleanJar");
}
Copy copy = makeTask("copyStart", Copy.class);
{
copy.from(delayedFile("{MAPPINGS_DIR}/patches"));
copy.include("Start.java");
copy.into(delayedFile(DevConstants.ECLIPSE_CLEAN_SRC));
copy.dependsOn("extractMcResources");
}
task = makeTask("extractMcSource", ExtractTask.class);
{
task.include(JAVA_FILES);
task.setIncludeEmptyDirs(false);
task.from(delayedFile(DevConstants.REMAPPED_CLEAN));
task.into(delayedFile(DevConstants.ECLIPSE_CLEAN_SRC));
task.dependsOn("copyStart");
}
// COPY FML STUFF
task = makeTask("extractFmlResources", ExtractTask.class);
{
task.exclude(JAVA_FILES);
task.from(delayedFile(DevConstants.REMAPPED_DIRTY));
task.into(delayedFile(DevConstants.ECLIPSE_FML_RES));
task.dependsOn("remapDirtyJar", "extractWorkspace");
}
copy = makeTask("copyDeobfData", Copy.class);
{
copy.from(delayedFile(DevConstants.DEOBF_DATA));
copy.from(delayedFile(DevConstants.FML_VERSIONF));
copy.into(delayedFile(DevConstants.ECLIPSE_FML_RES));
copy.dependsOn("extractFmlResources", "compressDeobfData");
}
task = makeTask("extractFmlSources", ExtractTask.class);
{
task.include(JAVA_FILES);