[GRADLE-2774] Task.actions allows insertion of Action instances, but internal protocol ContextAwareTaskAction is actually required Created: 10/May/13 Updated: 26/Sep/13 Resolved: 26/Sep/13 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | None |
| Fix Version/s: | 1.9-rc-1 |
| Type: | Bug | ||
| Reporter: | Gradle Forums | Assignee: | René Gröschke (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Description |
|
AbstractTask.wrap() is internally decorating actions added via less direct methods (doFirst() etc.). We could: 1. Not require all task actions to be of this type in our infrastructure I think #2 is probably the best course. I don't think we can do #3 as people rely on this feature. |
| Comments |
| Comment by Robert Kühne [ 17/Aug/13 ] |
|
This bug affects gradle 1.6 and 1.7 |