We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da9008 commit e47f606Copy full SHA for e47f606
build.gradle
@@ -111,7 +111,7 @@ checkstyle {
111
pmd {
112
toolVersion = "7.16.0"
113
sourceSets = [sourceSets.main]
114
- reportsDir = file("$project.buildDir/reports/pmd")
+ reportsDir = layout.buildDirectory.dir("reports/pmd").get().asFile
115
// https://github.com/pmd/pmd/issues/876
116
ruleSets = []
117
ruleSetFiles = files("config/pmd/ruleset.xml")
@@ -130,7 +130,7 @@ jacocoTestReport {
130
reports {
131
xml.required = true
132
csv.required = false
133
- xml.destination file("${buildDir}/reports/jacoco/test/jacocoTestReport.xml")
+ xml.outputLocation.set(layout.buildDirectory.file("reports/jacoco/test/jacocoTestReport.xml"))
134
}
135
136
0 commit comments