As you assume it just looks for jars/wars/whatever in the 'lib' folder. It
resolves versions by looking at the version number in the filename. for
instance:
myveryownjar-1.2.0.jar
spring-2.5.6.jar

etc.

At least that is my experience. Maybe someone has a more detailed
understanding.

BR
Eske


2009/11/9 Roger Studner <[email protected]>

> Can't seem to find much doc on this (probably in the 200 pages of docs..
> which are great docs.. I just can't find it hah)
>
> I've successfully used maven repo's with my gradle builds.
>
> Was curious, for a flatDir repository, is it looking for a local filesystem
> that is built up like maven (pom's etc)..
>
> or what I see all the examples doing this:
>
> repositories {
>    flatDir name: 'localRepository', dirs: 'lib'
> }
>
> Is it just looking for jar files in a folder called lib?
>
> I am guessing the maven/pom route, only because how could it then resolve
> spring 2.5.6 "intelligently" from a lib folder that just luckily had exactly
> the right jars to support the group/name/version for spring.
>
> Thanks
> Roger
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to