Hi,
I am trying to customize the uploadArchives task in order to copy the
generated jar into the lib folder of the dependents project. So,
having the follwoing structure
prjA
lib
dist
prjB
lib
dist
where prjA depends on prjB. Then I would like to copy the generated
jar in the prjB/dist into the prjA/lib.
As first step I am trying to figure out ho to obtain the list of
depentents project using the following task
subprojects {
apply plugin: 'java'
....
task list_dependents << { task ->
def t = task.project.tasks.buildDependents
def myset = t.taskDependencies.getDependencies(t)*.path as Set
myset.each { o -> println o }
}
}
The problem is the it returns only the current project. What am I
missing? Note that I am using the gradle 0.9-preview
Regards,
Walter
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email