Hello to the list.
I'm trying to set up a Gradle build instead of overly complex Ant build. So
far it looks promising, so thanks and kudos to Hans and guys!
The first bump for me is that, from what I see, test classes in one project
are not available in test classpath in another project within the same
build.
The build.gradle looks something like that:
project(":A") {
dependencies {
testCompile ':junit:0'
}
}
project(":B") {
dependencies {
compile project(':A')
testCompile project(':A')
testCompile ':junit:0'
}
}
Some tests in B use fixtures and stuff defined in test sources in A. The
classpath used to compile B tests includes main classes from A but not test
classes.
Am I missing something here? If that's on purpose, is there a workaround?
Kind regards,
Igor
--
View this message in context:
http://www.nabble.com/Test-classes-dependency-in-multi-project-builds-tp22787955p22787955.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email