Avoid use of deprecated API in aggregateTestReports task
See gh-26870
This commit is contained in:
parent
04e6b233ca
commit
d55cbf8b4d
|
@ -112,7 +112,7 @@ test {
|
||||||
|
|
||||||
task aggregateTestReports(type: TestReport) {
|
task aggregateTestReports(type: TestReport) {
|
||||||
description = "Aggregates JUnit and TestNG test reports."
|
description = "Aggregates JUnit and TestNG test reports."
|
||||||
destinationDir = test.reports.html.destination
|
destinationDir = test.reports.html.outputLocation.get().getAsFile()
|
||||||
reportOn junit, testNG
|
reportOn junit, testNG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue