On Apr 20, 2009, at 3:26 PM, Steve Appling wrote:

I'm not clear how to accomplish what DependencyManager.linkConfWithTask did using the new dependency layer refactoring in the current main trunk.

I can get dependent projects to build before a given task executes using:
  task.dependsOn configurations.compile.buildDependencies

This is similar to the old:
  dependencies.linkConfWithTask 'compile', 'libs'

What I want to do, though, is to make a particular task run in all dependent modules - what I think used to be:
  dependencies.linkConfWithTask 'compile', 'javadoc'

I don't see how to do this now. I need to make sure that the javadoc for all dependent projects is built before the javadoc for this one so that my inter-project links work correctly. BTW, it seems like the javadoc task should already be configured to work this way in the java plugin.

This was a bug in the Java plugin. It is fixed in trunk now. Please give feedback if it works for you now.

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





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

   http://xircles.codehaus.org/manage_email


Reply via email to