Accessing dependency information and file at the same time

(Johannes Zillmann) #1

Hey there,

i’m iterating over the dependencies like described in

configurations.alllife.dependencies.each { dep -> println }

will give me the dependencies with access to name, version, etc…

configurations.alllife.files.each { file ->

will give me the dependencies files !

Is there a way to get file and dep together ?

(Sorry i’m no groovy wizard) Johannes

(Luke Daley) #2

You need:


Which will give you a set of:

(Johannes Zillmann) #3

Thanks, that is working greatly!