[GRADLE-1356] Order of dependencies is not honored Created: 27/Jan/11 Updated: 04/Jan/13 Resolved: 27/Jan/11
|Reporter:||Jay Guidos||Assignee:||Peter Niederwieser|
|Resolution:||Not A Bug||Votes:||0|
Here is a small gradle script:
No matter what order I put the dependencies, they are always executed in the task name alphabetical order. Here is the output of the above script:
|Comment by Peter Niederwieser [ 27/Jan/11 ]|
Works as designed. If you need D to be run before C, you have to make C depend on D.
|Comment by Hans Dockter [ 28/Jan/11 ]|
There are some scenarios people want to solve with ordering that can't be properly modelled with dependsOn relations. Nor do we think ordering is the right approach. There is already an issue for that: http://jira.codehaus.org/browse/GRADLE-427
I make this a duplicate.