Avoid use of deprecated API in aggregateTestReports task

See gh-26870
This commit is contained in:
Sam Brannen 2021-09-13 16:52:00 +02:00
parent 04e6b233ca
commit d55cbf8b4d
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ test {
task aggregateTestReports(type: TestReport) {
description = "Aggregates JUnit and TestNG test reports."
destinationDir = test.reports.html.destination
destinationDir = test.reports.html.outputLocation.get().getAsFile()
reportOn junit, testNG
}