[GRADLE-601] Document how to write a custom task Created: 23/Aug/09 Updated: 04/Jan/13 Resolved: 28/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 |
Comments |
Comment by Tomek Kaczanowski [ 11/Sep/09 ] |
I think it would be good if there was a kind of explanation on why/when users should create custom tasks. I mean, half of the userguide is devoted to creation of tasks, so there is a question when users should declare new tasks in build.gradle and when should they create own classes (Custom tasks). Both the benefits (ability to test the tasks ? less cluttered build.gradle ?) and the downsides of using custom tasks (scattering build logic - not everything in build.gradle ?) should be mentioned. |