Deprecation removed

This commit is contained in:
Anubhav 2018-05-01 17:03:59 +05:30
parent 35f05be8df
commit dcd767351b

View file

@ -18,7 +18,7 @@ task checkstyle(type: Checkstyle) {
reports { reports {
html { html {
enabled true enabled true
destination "${project.buildDir}/reports/checkstyle/checkstyle.html" destination file("${project.buildDir}/reports/checkstyle/checkstyle.html")
} }
} }
} }
@ -36,10 +36,10 @@ task pmd(type: Pmd) {
xml.enabled = false xml.enabled = false
html.enabled = true html.enabled = true
xml { xml {
destination "${project.buildDir}/reports/pmd/pmd.xml" destination file("${project.buildDir}/reports/pmd/pmd.xml")
} }
html { html {
destination "${project.buildDir}/reports/pmd/pmd.html" destination file("${project.buildDir}/reports/pmd/pmd.html")
} }
} }
} }