On Jun 11, 2008, at 4:27 PM, JerodLass wrote:
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.
There should be a way to make it shorter. Have a look in the previous
mail. There is a modified snippet of your original code that should
work.
- Hans
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
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email