Skip to content

Commit ca1e4b6

Browse files
authored
Write PMD output to consoleOutput during build (#3223)
If PMD fails in a PRB or other CI flow, this will make it easier to see. PMD itself has a bunch of other options for report output, but I didn't see any way to use them via the gradle plugin.
1 parent 982badb commit ca1e4b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gradle/check.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ tasks.withType(rootProject.SpotBugsTask) { task ->
115115
// PMD
116116
apply plugin: 'pmd'
117117
pmd {
118+
consoleOutput = true
118119
ignoreFailures = false
119120
targetJdk = '1.7'
120121
sourceSets = [sourceSets.main]

0 commit comments

Comments
 (0)