Hello all,

for a base java project consisting mainly of interfaces and abstract classes I created both a baseproject-1.0.jar and a baseproject-1.0-testsupport.jar which is made up of mock implementations and intended to be used for unit tests.
In another project I want to declare dependencies as follows:

dependencies {
    compile 'my.group:baseproject:1.0'
    testCompile 'my.group:baseproject:1.0:testsupport'
}

This works well for plain gradle tasks. I can compile both main and test classes. Tests can be run without problems. However, the eclipse plugin does not add both jars as libs to the classpath entries. Instead, only the one which comes last in the dependencies configuration is added.

Is this a bug in the eclipse plugin or am I using it the wrong way?
If it is a bug, does anyone know a workaround?

BTW: I'm using gradle-0.9.1 and gradle-1.0-milestone-1.

Thanks for any help!
Thomas

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to