Merlyn,
I've changed the dependencies block to:
> dependencies {
> compile group: 'foo', name: 'foo', version: '1.0-SNAPSHOT'
> testCompile group: 'foo', name: 'foo', version: '1.0-SNAPSHOT'
> testCompile group: 'foo', name: 'foo', version: '1.0-SNAPSHOT',
> classifier: 'tests'
> testCompile group: 'junit', name: 'junit', version: '4.8.2'
> }
>
I'm getting the exact same behavior as before. Whichever dependency comes
second is the one which is put on the classpath.
- Adrian
On Mon, Jul 11, 2011 at 2:57 PM, Merlyn Albery-Speyer <
[email protected]> wrote:
> Hi Adrian, when you use dependencies with classifiers you need to use the
> more verbose form that and provide the classifier like so:
>
> .... classifier: "test"
> On Jul 11, 2011 11:51 AM, "Adrian Abraham" <[email protected]> wrote:
>