[GRADLE-619] The GradleManifest would have toFile() method Created: 05/Sep/09  Updated: 04/Jan/13  Resolved: 24/Nov/10

Status: Resolved
Project: Gradle
Affects Version/s: 0.7
Fix Version/s: 0.9-rc-1

Type: Improvement
Reporter: Jiri Mares Assignee: Hans Dockter
Resolution: Fixed Votes: 0


 Description   

This method is useful when you have to pass reference to the MANIFEST into ant task, eg.:

ant.taskdef(name: "oneJar", classname: "com.simontuffs.onejar.ant.OneJarTask", classpath: configurations.oneJar.asPath)
ant.oneJar(destfile: new File(distsDir, name + "-" + version + ".jar"), manifest: manifest.toFile()) {
main()

{ fileset(dir: classesDir) }

lib()

{ fileset(dir: libsDir) }

}


Generated at Wed Jun 30 11:34:34 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.