testReportDir and testResultsDir were removed in gradle 2.0, gradle 1.9 javadoc suggests to replace them with getReports().getHtml().setDestination() and getReports().getJunitXml().setDestination()