{
classZip.from(delayedZipTree(DevConstants.BINPATCH_TMP), new CopyInto("", "**/*.class"));
classZip.setArchiveName("binaries.jar");
}
final SubprojectTask javadocJar = makeTask("genJavadocs", SubprojectTask.class);
{
javadocJar.setBuildFile(delayedFile(DevConstants.ECLIPSE_FML + "/build.gradle"));
javadocJar.setTasks("jar");
javadocJar.setConfigureTask(new Action<Task>() {
public void execute(Task obj)
{
Jar task = (Jar) obj;
File file = delayedFile(DevConstants.JAVADOC_TMP).call();
task.setDestinationDir(file.getParentFile());
task.setArchiveName(file.getName());
}
});
javadocJar.dependsOn("generateProjects", "extractFmlSources");
}
ExtractS2SRangeTask range = makeTask("userDevExtractRange", ExtractS2SRangeTask.class);
{
range.setLibsFromProject(delayedFile(DevConstants.ECLIPSE_FML + "/build.gradle"), "compile", true);