In my subproject, I have a dependency
dependencies {
compile 'group:name:1.0'
}
I want my root project to replace it with a custom subproject that exposes the same API as the dependency
project(':subproject') {
dependencies {
compile project(':namecompatible')
}
}
Is there any way to do this?