Java Checkstyle

Gradle 설정

tasks.withType(Checkstyle) {
    reports {
        xml.enabled true
        html.enabled false
        html.stylesheet resources.text.fromFile('config/xsl/checkstyle-custom.xsl')
    }
    ignoreFailures = true
    configFile = file('config/checkstyle/checkstyle.xml') // rule 파일
}