Russel Winder wrote:
>
> I have a project specification (only first part given):
>
> project ( ':extra166y' ) {
> dependencies {
> compile files ( project ( ':jsr166y' ).sourceSets.main.classesDir )
> testCompile files ( project ( ':jsr166tck'
> ).sourceSets.main.classesDir )
> }
>
> [...]
> However :jsr166y is not forceably built if needed. [...]
> what is the idiomatically correct way of specifying the dependency?
>
The correct way is to depend on either of the following:
project(":jsr166y")
project(":jsr166y").sourceSets.main.classes
--
Peter Niederwieser
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Project-dependencies-issue-tp3406176p3406215.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