@@ -230,8 +230,10 @@ cpdCheck {
230
230
}
231
231
}
232
232
233
- task cpdHtmlReport << {
234
- ant. xslt(in : " ${ buildQAAnalysisCPD} /main.xml" , style : cpdReportFile, out : " ${ buildQAAnalysisCPD} /../cpd.html" )
233
+ task cpdHtmlReport {
234
+ doLast {
235
+ ant. xslt(in : " ${ buildQAAnalysisCPD} /main.xml" , style : cpdReportFile, out : " ${ buildQAAnalysisCPD} /../cpd.html" )
236
+ }
235
237
}
236
238
cpdCheck. finalizedBy cpdHtmlReport
237
239
@@ -327,13 +329,15 @@ subprojects {
327
329
ruleSetFiles = files(pmdRulesFile)
328
330
ruleSets = []
329
331
reportsDir = file(buildQAAnalysisPMD)
330
- toolVersion = ' 5.1.0 '
332
+ toolVersion = ' 5.4.1 '
331
333
}
332
334
333
- task pmdHtmlReport << {
334
- ant. xslt(in : " ${ buildQAAnalysisPMD} /main.xml" , style : pmdReportFile, out : " ${ buildQAAnalysisPMD} /sortable_report.html" )
335
- ant. copy(todir : buildQAAnalysisPMD, file : pmdSortableFile)
336
- new File (buildQAAnalysis, " pmd.html" ). text = " <meta http-equiv=\" refresh\" content=\" 0; url=pmd/sortable_report.html\" >"
335
+ task pmdHtmlReport {
336
+ doLast {
337
+ ant. xslt(in : " ${ buildQAAnalysisPMD} /main.xml" , style : pmdReportFile, out : " ${ buildQAAnalysisPMD} /sortable_report.html" )
338
+ ant. copy(todir : buildQAAnalysisPMD, file : pmdSortableFile)
339
+ new File (buildQAAnalysis, " pmd.html" ). text = " <meta http-equiv=\" refresh\" content=\" 0; url=pmd/sortable_report.html\" >"
340
+ }
337
341
}
338
342
pmdMain. finalizedBy pmdHtmlReport
339
343
@@ -347,8 +351,10 @@ subprojects {
347
351
toolVersion = ' 5.6'
348
352
}
349
353
350
- task checkstyleHtmlReport << {
351
- ant. xslt(in : " ${ buildQAAnalysisCheckstyle} /main.xml" , style : " ${ checkstyleReportFile} " , out : " ${ buildQAAnalysisCheckstyle} /../checkstyle.html" )
354
+ task checkstyleHtmlReport {
355
+ doLast {
356
+ ant. xslt(in : " ${ buildQAAnalysisCheckstyle} /main.xml" , style : " ${ checkstyleReportFile} " , out : " ${ buildQAAnalysisCheckstyle} /../checkstyle.html" )
357
+ }
352
358
}
353
359
checkstyleMain. finalizedBy checkstyleHtmlReport
354
360
@@ -363,8 +369,10 @@ subprojects {
363
369
toolVersion = ' 2.0.0'
364
370
}
365
371
366
- task findbugsHtmlReport << {
367
- ant. xslt(in : " ${ buildQAAnalysisFindbugs} /main.xml" , style : findbugsConfigFancyHist, out : " ${ buildQAAnalysisFindbugs} /../findbugs.html" )
372
+ task findbugsHtmlReport {
373
+ doLast {
374
+ ant. xslt(in : " ${ buildQAAnalysisFindbugs} /main.xml" , style : findbugsConfigFancyHist, out : " ${ buildQAAnalysisFindbugs} /../findbugs.html" )
375
+ }
368
376
}
369
377
findbugsMain. finalizedBy findbugsHtmlReport
370
378
0 commit comments