Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 23, 2023
1 parent b2fbe73 commit be26e51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
- run: make checks
- uses: actions/upload-artifact@v3
with:
name: Checkstyle and Spotbugs reports
name: Checkstyle and SpotBugs reports
path: reports
if-no-files-found: ignore
if: always()
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ configure(subprojects.findAll { ['core', 'examples'].contains(it.name) }) {
// https://github.com/gradle/gradle/blob/v6.7.1/subprojects/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstylePlugin.java#L37
configFile = file("$rootProject.rootDir/checkstyle_checks.xml")
configProperties = ['basedir': project.rootDir.path]
reportsDir = file("$project.buildDir/reports/checkstyleReports")
reportsDir = file("$project.buildDir/reports/CheckstyleReports")
}

spotbugs {
toolVersion = "4.4.2" // com.github.spotbugs:spotbugs-annotations
reportsDir = file("$project.buildDir/reports/spotbugsReports")
reportsDir = file("$project.buildDir/reports/SpotBugsReports")
effort = "max"
reportLevel = "high"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/** Test the servlet package. */
package org.mapfish.print.servlet;

0 comments on commit be26e51

Please sign in to comment.