I have an Android app that has the structure noted below. I would like to know what is the best way to aggregate test reports from all of these modules to a single directory. I have instrumented tests as well as local unit tests in these modules. I did try to use TestReport in build.gradle but that does not seem to work in this case. Thanks for the help.
Project
|--ModuleA (android application)
|--src/test/...
|--build
|--reports
|--tests
|--index.html (testresults)
|--..
|--..
|--ModuleB (android library)
|--src/test/...
|--build
|--reports
|--tests
|--index.html (testresults)
|--..
|--..
|--ModuleC (android library)
|--src/test/...
|--build
|--reports
|--tests
|--index.html (testresults)
|--..
|--..