In Android studio I'm being forced to redeclare the repository for the android library dependency within the application module

In Android Studio I’m trying to compile an Android application module which uses an Android library. The library includes a jar file for Bugsense.

Although the library module compiles correctly, the application module fails because it is looking for the Bugsense jar file that is used within the library module.

To make it work I have to redeclare Bugsense in the repository of the application module.

I’ve posted all the details at SO here:

Thanks