Pascal Stieber wrote:
> 
> I have to create a dependency list with all transitive project
> dependencies.
> "/configurations.runtime.allDependencies/" only delivers direct
> dependencies.
> 
> Anybody out there who can help or have an idea?
> 

To get the resolved files, iterate over the configuration or call its
getFiles() method. To get the resolved artifacts (logical representation of
the files), use
configurations.runtime.resolvedConfiguration.resolvedArtifacts. To get the
resolved dependencies (the kind of information that you see in a
"dependencies" block), use
configurations.runtime.resolvedConfiguration.firstLevelModuleDependencies
and navigate down the dependency tree with getChildren().

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw




--
View this message in context: 
http://gradle.1045684.n5.nabble.com/transitive-dependency-list-tp4793535p4796904.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to