Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
cache: 'gradle'

- name: Run Checkstyle
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled=true
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled

pmd:
runs-on: ubuntu-latest
Expand All @@ -115,7 +115,7 @@ jobs:
cache: 'gradle'

- name: Run PMD
run: ./gradlew pmdMain pmdTest
run: ./gradlew pmdMain pmdTest -PpmdEnabled

- name: Upload report
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .run/Run Tests.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="-PskipPMD" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ tasks.withType(Checkstyle).configureEach {
}

tasks.withType(Pmd).configureEach {
enabled = !project.hasProperty("skipPMD")
enabled = project.hasProperty("pmdEnabled")
}

// Configure compileJava AND compileTestJava
Expand Down