Hi Peter,

I tried it with the pair of parentheses, but the result was confusing.

There is a difference between "Code 1" and "Code 2".

Code 1:
dependencies {
    compile (project(':MySubProject')) {
        transitive = false
    }
}

Code 2:
configurations {
    compile.transitive = false
}
dependencies {
    compile project(':MySubProject')
}


"Code 1": All configurations (compile, default, runtime, ...) contains only the subproject. "Code 2": "Compile" contains only the subproject, The other configurations contains also the transitive dependencies.

regards,
Mathias Kalb



Am 26.01.2011 20:42, schrieb Peter Niederwieser:
It's not an "exclude" or "transitive" bug. It's simply not possible to
configure a project dependency without adding a pair of parentheses. As such
it's not necessary to add a comment about "transitive" to the issue.

--
Peter Niederwieser
Developer, Gradle
http://www.gradle.org
Trainer&  Consultant, Gradle Inc.
http://www.gradle.biz
Founder, Spock Framework
http://spockframework.org


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

   http://xircles.codehaus.org/manage_email


Reply via email to