Is there a way to specify the main-class of the jar in its manifest file as a parameter in Groovy's AntBuilder?
def jAnt = project.createAntBuilder();
jAnt.jar(
basedir: build_dir + "/classes", //I have only one class with the main method in it
destfile: build_dir + "/jar/test-jar.jar"
)
I just want to specify the main class here while creating the jar.