If you would like to include it as a jar inside your jar (?), you can use
this:

package(:jar).include(artifact(GROOVY), :path => "lib").

I committed a simple integration test that shows the use of include with
:path:
http://svn.apache.org/viewvc/buildr/trunk/tests/include_path/

It's more likely that you want to merge it, in which case this will work:
package(:jar).merge artifact(GROOVY))

I'll add a test for merge as well.

Antoine

On Thu, Jun 23, 2011 at 00:57, Dan King <[email protected]> wrote:

> Hi,
>
> How can I include 'groovy-all-1.8.0.jar' to my groovy application, which
> I'm
> packaging as a jar?
>
>
> I've already added:
>
> Buildr::Groovy::Groovyc::REQUIRES.groovy.version='1.8.0'
>
> Thanks.
>
> -Dan
>
>

Reply via email to