I have an Android application module (app) and an Android library module (library). Both app and library contain these same dependencies:
dependencies {
You can define shared gradle dependencies in the library module, and if the app module has the library as a dependency, you won't need to specify everything twice. Taking this further, you could create a 'common' module that requires the shared gradle dependencies, and have both the app & library module require the common module.