So (at least for now) if I depend on 25 jars stored locally I can only
declare this in the individual gradlefile as:
compile ":lib1::jar"
compile ":lib2::jar"
compile ":lib3::jar"
etc...
There's no way to make it shorter? I tried 'compile
[":lib1::jar",":lib2::jar"]' to no avail. I'm not expecting this kind of
convenience so a 'no' is all I'm looking for, I just thought it best to ask.
hdockter wrote:
>
>
> On Jun 9, 2008, at 5:58 PM, JerodLass wrote:
>
>>
>> update: worked when I changed the resolver declaration to:
>>
>> addFlatDirResolver('common',
>> commonLib).addArtifactPattern(commonLib.path+'/[artifact].[ext]')
>> with compile dependencies in the form of ":[artifact]::[type]"
>>
>> Now, is there some way to generate these sets of compile
>> statements? I am
>> moving from Ant, so I wrote a script to generate a file full of xml
>> classpath junk into a list of gradle compile statements, but is
>> there a
>> better way than copy/pasting them over to the gradlefile?
>
> Not yet. But we want to provide conversion tools from Ant and Maven
> files to Gradle in the future.
>
> - Hans
>
>
>> --
>> View this message in context: http://www.nabble.com/gradlefile-
>> cleaning--tp17650512p17735903.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
>>
>>
>
> --
> Hans Dockter
> Gradle Project lead
> http://www.gradle.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
--
View this message in context:
http://www.nabble.com/gradlefile-cleaning--tp17650512p17779163.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