How to force gradle to ignore transitive dependencies of some library in dependency resolution of other libraries?

Hi, i want to use Chucker library on my project. But it has transitive dependencies from new versions of libraries (android.widget, …) and when dependency resolution this new versions breaks my code. So how say gradle to ignore transitive dependencies of chucker library in dependency resolution? I have tried transitive=false but it removes transitive dependencies from chucker library too and breaks it’s functionality. What i want is to configure gradle in such way: chucker uses it is transitive dependency not hurting (or not updating versions of) other dependencies.