Hans Dockter wrote:

On Apr 22, 2009, at 6:52 PM, Steve Appling wrote:

<clip>
I think that this is what I really want, but I also think it would be useful to have a method on the configuration to help with this. Perhaps something like:

javadoc.dependsOn(configurations.compile.tasks('javadoc'))

I had not realized that Task.dependsOn could take a closure. This was the information I was missing. Configuration.buildDependencies always returns an empty list during the configuration phase. So I couldn't ever get anything like javadoc.dependsOn configurations.compile.buildDependencies... to work.

This seems like a bug to me (buildDependencies returning empty list during configuration phase). At the very least it needs to be documented.

Could you file a Jira for this with fix for 0.6?

- Hans


I'll be glad to, but which part: the suggested new feature to make it easier to add task dependencies based off the projects dependencies in a specific configuration, or the fact the buildDependencies returns an empty list during configuration?
--
Steve Appling
Automated Logic Research Team

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to