Controlling Transitives

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

configurations {

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

egs group:'',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.