[GRADLE-1108] How to Declare Output? Created: 11/Aug/10 Updated: 18/Jan/13 Resolved: 18/Jan/13
|Resolution:||Not A Bug||Votes:||0|
When I run with "-i", I'm noticing lots of lines like this:
Task ':runFeatures' has not declared any outputs.
I've got a fair number of tasks that perform expensive work to generate files (e.g. install Ruby gems, fire off a JavaCC process), so if I could prevent those tasks from executing based on the existence of certain files, that'd be awesome.
However, I don't see anywhere in the User Guide that talks about how to declare outputs for tasks. Am I missing it? If not, we should add something.
|Comment by Hans Dockter [ 15/Aug/10 ]|
This will be added to the documentation for the 0.9 release. Until then the following mailing list thread may help you: http://markmail.org/message/tiru6jpl642a4euf