diff --git a/gradle/commonStaticAnalysis.gradle b/gradle/commonStaticAnalysis.gradle index c96ea07..799eafa 100644 --- a/gradle/commonStaticAnalysis.gradle +++ b/gradle/commonStaticAnalysis.gradle @@ -314,7 +314,7 @@ getCpdTask = { isAndroidProject, sources -> reports { xml { enabled = true - destination = File("${project.buildDir}/reports/cpd.xml") + destination = file("${project.buildDir}/reports/cpd.xml") } } } @@ -332,11 +332,11 @@ getPmdTask = { sources -> reports { html { enabled = true - destination File("${project.buildDir}/reports/pmd.html") + destination file("${project.buildDir}/reports/pmd.html") } xml { enabled = true - destination File("${project.buildDir}/reports/pmd.xml") + destination file("${project.buildDir}/reports/pmd.xml") } } } @@ -386,7 +386,7 @@ getCheckstyleTask = { sources -> reports { xml { enabled = true - destination File("${project.buildDir}/reports/checkstyle.xml") + destination file("${project.buildDir}/reports/checkstyle.xml") } } }