Hi Matt,

On 22/07/2011, at 8:08 AM, Matt Stine wrote:

> Hi all-
> 
> I am in the progress of migrating a legacy project into Gradle.
> 
> The project is now composed of multiple subprojects...let's call them
> A, B, C, D, ...
> 
> I have tests in D/src/test/java that inherit from a class defined in
> C/src/test/java.
> 
> What's the most straightforward way to change D's testCompile
> classpath to see the binaries generated by C's testCompile?

project(":d") {
        dependencies {
                testCompile project(":c").sourceSets.test.output
        }
}

-- 
Luke Daley
Principal Engineer, Gradleware 
http://gradleware.com


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

    http://xircles.codehaus.org/manage_email


Reply via email to