In the app module I added baseLayerCore module as a dependency and both app and baseLayerCore modules need core module as their dependency so I defined core in app but baseLayerCore dose not resolve it and needs to be defined in its own build.gradle too.
I believe baseLayerCore does not need core since it has defined in app.
Am I wrong?! Why is this happening?
app build.gradle:
