One possible way of doing this would be like this. It's pretty simple, but
might meet your needs.
dependencies {
compile files("${project(':other_project').libsDir}/name-of-jar.jar")
}
Val
On Nov 18, 2010, at 4:12 PM, Andrew Spina wrote:
> Hi All,
>
> I have a project that generates multiple jars (one using Javacc and one using
> Jaxb). I have other projects in the same build that want to depend on only
> one or the other of these jars. How do I refer to just one jar in my build
> file? I'm guessing it has to do with the configurations that the Jars are
> assigned to. I've looked through the documentation and asked Google. I
> haven't found an answer.
>
> This is my first post to the list, but I've worked with both Ant and Maven.
> Gradle is a great alternative. Thanks for putting it together.
>
> Cheers,
>
> Andy
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email