File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 93
93
cache : ' gradle'
94
94
95
95
- name : Run Checkstyle
96
- run : ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled=true
96
+ run : ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled
97
97
98
98
pmd :
99
99
runs-on : ubuntu-latest
@@ -115,7 +115,7 @@ jobs:
115
115
cache : ' gradle'
116
116
117
117
- name : Run PMD
118
- run : ./gradlew pmdMain pmdTest
118
+ run : ./gradlew pmdMain pmdTest -PpmdEnabled
119
119
120
120
- name : Upload report
121
121
if : always()
Original file line number Diff line number Diff line change 5
5
<option name =" executionName" />
6
6
<option name =" externalProjectPath" value =" $PROJECT_DIR$" />
7
7
<option name =" externalSystemIdString" value =" GRADLE" />
8
- <option name =" scriptParameters" value =" -PskipPMD " />
8
+ <option name =" scriptParameters" value =" " />
9
9
<option name =" taskDescriptions" >
10
10
<list />
11
11
</option >
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ tasks.withType(Checkstyle).configureEach {
120
120
}
121
121
122
122
tasks. withType(Pmd ). configureEach {
123
- enabled = ! project. hasProperty(" skipPMD " )
123
+ enabled = project. hasProperty(" pmdEnabled " )
124
124
}
125
125
126
126
// Configure compileJava AND compileTestJava
You can’t perform that action at this time.
0 commit comments