I’m struggling setting-up the test configuration for a Groovy multi-project build. I have some tests helpers defined in the root project test folder.
In a subproject I need to use the a test helper defined in the root project, so in the subproject build file I defined the following dependencies:
testCompile project(path: ‘:’, configuration: ‘testCompile’)
However the test compilation in the subproject fail reporting that is unable to find the test helper defined in the root.
How to correctly inherit the test dependencies from the root project ?