I have android multi-project test dependency. For Android Plugin for Gradle 2.2.x the solution was the second answer in Multi-project test dependencies with gradle. After updating the plugin to to 2.3.+ it stopped working. The test aar is still generated but it seems like the dependency stopped working:
dependencies {
compile project(':ProjectA')
testCompile project(path: ':ProjectA', configuration: 'testArtifacts')
}
Does anyone know how to solve it for gradle plugin 2.3.+ ?