[GRADLE-2813] ExecSpec exposed by project.exec() is not DSL enhanced. Created: 27/Jun/13 Updated: 01/Jul/13 Resolved: 01/Jul/13 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.6 |
| Fix Version/s: | 1.7-rc-1 |
| Type: | Bug | ||
| Reporter: | Gradle Forums | Assignee: | Luke Daley |
| Resolution: | Fixed | Votes: | 0 |
| Comments |
| Comment by Gradle Forums [ 27/Jun/13 ] |
|
It's `ignoreExitValue = true`. For tasks it's oftentimes possible to omit the `=`. PS: Please always provide the exact error message and stack trace. |
| Comment by Gradle Forums [ 27/Jun/13 ] |
|
@Peter, Is there a technical limitation to why the interface cannot be consistent? |
| Comment by Gradle Forums [ 27/Jun/13 ] |
|
Task classes are generically enhanced at runtime (via code generation) for several reasons. There is no such mechanism for methods. |