manifest.addConfiguredAttribute(mainClass);
} catch (ManifestException e) {
throw new BuildException("Manifest error", e);
}
manifest.execute();
}
void createFatJar() throws BuildException {
File fatJar = new File(baseDir, task.getName() + ".jar");
fatJar.delete();