Dependencies with same name and different qualifier

I am currently trying to build Vert.x 3 with Gradle. I ran into a little problem using their test-dependencies. I have the following ste of deps:

dependencies {

compile “io.vertx:vertx-core:3.0.0-SNAPSHOT”

testCompile “io.vertx:vertx-core:3.0.0-SNAPSHOT:tests”

testCompile “junit:junit:4.11” }

The problem is that only ever one of the vertx-deps gets loaded. If I include the one with classifier “test” only that one gets loaded. Removing it gives me the other dependency. I also tried opening it in Idea, which gives the same result => only ever one of the two appears.

Is there a way to solve this?

Works fine for me (tested with Gradle 2.1). Compile class path only contains ‘vertx-core-3.0.0-SNAPSHOT.jar’, whereas test compile class path additionally contains ‘vertx-core-3.0.0-SNAPSHOT-tests.jar’. Note that both dependencies refer to the same Maven module (a classifier only affects which of the module’s artifacts is used).