I am migrating all of my Android projects into Android Studio, as Eclipse has been a bit of a pain to work with.

I have several Android library projects, which provide functionality to my app projects.

Imagine it like this:
MyCompanyUtils

MyClientUtils uses MyCompanyUtils

MyClientApp1 uses MyClientUtils

MyClientApp2 uses MyClientUtils

"MyCompanyUtils" contains the Google GSON library, as all my projects need this library. One of my apps uses a third party library, which includes the Google GSON library within it's own jar.

This was fine in Eclipse, as all I had to do was uncheck "Export Android Private Libraries", and I would avoid all 'Multiple Dex Files Define' errors. I cannot see such an option in Android Studio.

I have looked around at all the other questions that are asking about Multiple Dex errors in Android Studio, but they all seem to be from people who have control over ALL the libraries in their project. I don't. MyCompanyUtils *needs* GSON, and I *need* to use this library in an application project. 

How can I prevent these libraries clashing?