I have a multiproject build with domain
, service
and so on projets.
I defined a configuration in my domain
project that supposed to use a support class stored in test
path (it would be better to reference a single class though as I need only single BaseTestClass
from tests).
configurations {
testSupport
}
dependencies {
testSupport sourceSets.test.output
}
Then I use it in my another project like this
testCompile project(path: ":domain", configuration: 'testSupport')
Is there a way to use it like this?
testSupport project(":domain")