Is it in the same Buildfile ?

If yes, then this should work:

test.compile.with (project("foo").test.compile.target)

On Wed, Aug 18, 2010 at 09:22, <[email protected]> wrote:

> Hi everyone (hope I'm not spamming),
> I have a test that is using another test in another project.
> Should I make a jar with only the classes of src/test/java and include this
> project as a test dependencies (like in maven
> http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html) ?
> I tried to include the src/test/java folder in the actual jar (just to see)
> with compile.from('src/test/java') but it does not seem to do the trick.
> Thanks for any help,Cheers,Florence.
>
>
>
>

Reply via email to