Thanks I found it by going to the code of "project.dependencies" and see what it does when adding new dependencies. These end up in "project.configurations.dependencies" and here I get the name and version.
However; now I have the file and the dependency information, but no way to map them. The only way I see from here is to recreate the file name from dependency and match. That seem a bit unstable. ThorÅge -- On Thu, Sep 22, 2011 at 4:45 PM, Peter <[email protected]> wrote: > ** > I think they are somwhere around: > > > project.dependencies.<configurationname> > > That gives you a list objects holding the information of the dependencies > > Peter > > > On 09/22/2011 04:37 PM, Merlyn Albery-Speyer wrote: > > This would be a good question for the forums.gradle.org > On Sep 22, 2011 6:05 AM, "Thor Åge Eldby" <[email protected]> wrote: > > Hi > > > > I need to use the artifact name and version of an artifact in a plugin. > > However; I can't seem to find anyway to get that information from a > > configuration. Is that information thrown away when loading the > > dependencies? > > > > > > Best Regards > > Thor Åge Eldby > > > > -- > Mit freundlichen Grüßen > > Peter Triller > Senior Software Architect > > the virtual solution GmbH > it´s YOUR business > > Rupprechtstraße 25 > 80636 München > Germany > > Phone: +49 89-309057-268 > Fax: +49 > 89-309057-200peter.tril...@virtual-solution.comwww.virtual-solution.com > > Geschäftsführer: Rainer Hackenberg, Raoul Thomas Herborg, > Amtsgericht München: HRB 150008, USt.-ID DE813833087 > > >
