Hi,

how can I define that a project dependency is not transitive?

I tried the following, but it doesn't work.

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


I can define it at the configuration, but then all dependencies are not transitive.

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

It works also for repository dependencies.

dependencies {
compile group: 'org.apache.poi', name: 'poi', version: '3.7', transitive: false
}

regards,
Mathias Kalb

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

   http://xircles.codehaus.org/manage_email


Reply via email to