HHH-11235 - split checkstyles into fatal and non-fatal configs

This commit is contained in:
Steve Ebersole 2016-11-09 11:38:19 -06:00
parent 737abc503f
commit 3c23d45236
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ subprojects { subProject ->
checkstyleMain.source = 'src/main/java' checkstyleMain.source = 'src/main/java'
// define a second checkstyle task for checking non-fatal violations // define a second checkstyle task for checking non-fatal violations
task nonFatalCheckStyle(type:Checkstyle, dependsOn: checkstyle) { task nonFatalCheckstyle(type:Checkstyle, dependsOn: checkstyle) {
source subProject.sourceSets.main source subProject.sourceSets.main
showViolations = false showViolations = false
configFile = rootProject.file( 'shared/config/checkstyle/checkstyle-non-fatal.xml' ) configFile = rootProject.file( 'shared/config/checkstyle/checkstyle-non-fatal.xml' )