[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' }
}
Generated at Wed Jun 30 11:32:53 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.