# Controlling Transitives

**URL:** <https://discuss.gradle.org/t/controlling-transitives/2975>\
**Category:** Old Forum Archive\
**Created:** [October 7, 2014, 4:43pm UTC](https://discuss.gradle.org/t/controlling-transitives/2975 "2014-10-07T16:43:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keir\_Badger](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@Keir\_Badger](https://discuss.gradle.org/u/Keir_Badger)\
**Post date:** [October 7, 2014, 4:43pm UTC](https://discuss.gradle.org/t/controlling-transitives/2975/1 "2014-10-07T16:43:00Z")

</div>

Hi As we build a financial application we have to control the transitive dependencies of 3rd party jars so I have this in the build.gradle

```gradle
configurations {
 compile.transitive=false
 runtime.transitive=false
 testRuntime.transitive=false
 testCompile.transitive=false
}

```

to completely turn off transitives across the board

We now have a set of in-house jars that I would like to include into the compile scope with transitives turned on just for them

Tried this but seems the code above overrides it

```gradle
egs group:'com.company.gs',name:'egs_mike',version:'06.00.081', transitive: true

```

Also tried to setup a new configuration (with default transitives setting) and add this to the configurations.compile but again the code at the top overrides.

Any help to get this working would be gratefully received.
