[GRADLE-548] Allow the artifact production tasks to be specified for a file dependency Created: 17/Jul/09 Updated: 04/Jan/13 Resolved: 16/Sep/09 | 
|
| Status: | Resolved | 
| Project: | Gradle | 
| Affects Version/s: | None | 
| Fix Version/s: | 0.8 | 
| Type: | Improvement | ||
| Reporter: | Adam Murdoch | Assignee: | Adam Murdoch | 
| Resolution: | Fixed | Votes: | 0 | 
| Description | 
| 
 So that generated files can be added to a configuration, and Configuration.getBuildDependencies() includes the tasks that generate those files. For example, something like: dependencies {
    compile files(...) { producedBy myTask }
}
 | 
| Comments | 
| Comment by Adam Murdoch [ 16/Sep/09 ] | 
| 
 Producer tasks can be specified for FileCollections, and file dependencies will pick this up. eg dependencies {
    compile files('some/file') { builtBy 'someTask' }
}
 |