[GRADLE-270] Make the closure parameter of the fileSet method of the archive tasks optional Created: 22/Oct/08 Updated: 04/Jan/13 Resolved: 30/Oct/08 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.5 |
Type: | Improvement | ||
Reporter: | Martin Vlcek | Assignee: | Hans Dockter |
Resolution: | Cannot Reproduce | Votes: | 0 |
Description |
In manually created archive tasks - e.g. createTask(type: Jar) - the fileSet method requires a second parameter (a closure) besides the "dir" parameter.
This applies to all archive tasks. |
Comments |
Comment by Hans Dockter [ 30/Oct/08 ] |
I can't reproduce this. As far as I can tell the closure is optional. This is the signature of the relevant method: FileSet fileSet(Map args = [:], Closure configureClosure = null) |
Comment by Hans Dockter [ 30/Oct/08 ] |
I'm closing this issue. If there has been a misunderstanding on my side, please reopen it. |
Comment by Martin Vlcek [ 31/Oct/08 ] |
OK, just tried again and it works. I probably forgot the .configure when trying it first |