this is a gradle question in android studio. I'm really new to gradle so I hope i'll be clear.
I have a project that uses a module like this:
compile project('modules:aol-on-sdk')
This project uses a library called ExoPlayer. I need to use a newer version of it in another class. If i enter a new dependency:
compile 'com.google.android.exoplayer:exoplayer:rX.X.X'
than i get a duplicate error. I want to prevent the dependency outside the stated module.