1
0
mirror of synced 2026-05-22 21:33:16 +00:00
Files
spring-security/gradle/checkstyle.gradle
T
Rob Winch b52ffe038e Add Checkstyle
Fixes gh-3746
2016-03-14 00:15:13 -05:00

12 lines
317 B
Groovy

apply plugin: 'checkstyle'
checkstyle {
configFile = rootProject.file('etc/checkstyle/checkstyle.xml')
configProperties.configDir = configFile.parentFile
toolVersion = '6.16.1'
}
task checkstyle {
dependsOn project.tasks.findAll { task -> task.name.matches('checkstyle\\w+') }
}
check.dependsOn tasks.checkstyle