Hi Phil,
On Fri, Feb 19, 2010 at 9:41 PM, phil swenson <[email protected]>wrote:
> I would like to build an intellij project from gradle. I have code like:
>
> repositories {
> flatDir(name: 'commonLib', dirs: commonLibDir)
> flatDir(name: 'commonLibExt', dirs: commonLibExtDir)
> flatDir(name: 'optimizeLib', dirs: "../lib")
> flatDir(name: 'optimizeReportingLib', dirs: "../lib/reporting")
> }
>
> dependencies {
> compile name: 'commons-collections'
> compile name: 'commons-io'
> compile name: 'commons-lang'
> // (bunch more)
> testCompile group: 'junit', name: 'junit', version: '4.+'
> }
>
> how do i get the full path to each jar file that I have declared in my
> dependencies list? I will need this for my project xml.
>
Is this what you are looking for:
configurations.compile.each { file ->
...
}
Or do you want a mapping: dependencyObject -> jar?
- Hans
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>