How to change test result directory when using Test Report Aggregation Plugin

Reading this documentation, is there a way to specify the directory where test report will be stored?

Within the report configuration:

reportTask {
    destinationDirectory = reporting.baseDirectory.dir("foo")
}
1 Like