hi gradle,

one thing, that could be useful IMO
is a retrieve-command that supports
switching from ivy/maven-repositories
to flatDir.

in ant+ivy it is like this:


*** snip ***
ivy.retrieve.pattern=${lib.dir}/[conf]/[artifact].[ext]

<ivy:retrieve pattern="${ivy.retrieve.pattern}"/> 
*** snap ***


the default-behaviour of a command 'gradle retrieveLibs' 
would fetch dependent artefacts into the /lib dir so that
a switch to: 


repositories {
    flatDir(dirs: file('lib'))
}  


can be done without manually copying files.

i have such a usecase a second time now. 
that's why i think it's worth a note here.

or is there a better/easier way to do this ?

have a successful day


-- 
View this message in context: 
http://www.nabble.com/retrieve-command-to-support-switching-to-flatDir-tp23974778p23974778.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


Reply via email to