I have two projects: project A – this one has the main code project B – this one has the test code (for some reason I have to keep test code in a separate project for a while)
Now in project B, I am adding a testCompile dependency configuration on project A. I want to understand the difference between these dependency configuration statements:
testCompile project(path: “projectA”, configuration: “compile”)
I am asking this question because I actually want to pull in all the compile time dependencies of project A into the testCompile dependency of project B and I can’t figure out how to do that. I assumed testCompile project(path: “projectA”, configuration: “compile”) will work, but it doesn’t.
Any help will be appreciated.