List<LayoutFileSet> (TempFileFactory temp) { List<LayoutFileSet> built = super.build(temp); File dest = temp.allocateTempFile(name); task.setProject(getProject()); task.setDestFile(dest); for (LayoutFileSet set : built) { task.addZipfileset(set); } LayoutFileSet result = new LayoutFileSet(); result.setFile(dest); task.perform(); return Collections.singletonList(result); }