forked from DevFW-CICD/spring-petclinic
Make maven and gradle share checkstyle configuration
This commit is contained in:
parent
da1c93d367
commit
a2f1ad5503
4 changed files with 13 additions and 13 deletions
|
|
@ -54,7 +54,13 @@ tasks.named('test') {
|
|||
}
|
||||
|
||||
checkstyle {
|
||||
configFile file("${project.rootDir}/src/checkstyle/nohttp-checkstyle.xml")
|
||||
configDirectory = project.file('src/checkstyle')
|
||||
configFile = file('src/checkstyle/nohttp-checkstyle.xml')
|
||||
}
|
||||
|
||||
checkstyleNohttp {
|
||||
configDirectory = project.file('src/checkstyle')
|
||||
configFile = file('src/checkstyle/nohttp-checkstyle.xml')
|
||||
}
|
||||
|
||||
tasks.named("formatMain").configure { dependsOn("checkstyleMain") }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue