사용자 도구

사이트 도구


java:checkstyle

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
java:checkstyle [2016/10/11 11:50]
kwon37xi 만듦
java:checkstyle [2021/05/06 22:35] (현재)
kwon37xi
줄 1: 줄 1:
 ====== Java Checkstyle ====== ====== Java Checkstyle ======
-  * http://checkstyle.sourceforge.net/+  * http://checkstyle.sourceforge.net/ : [[java:static_analysis|Java Static Analysis]] 도구 
 +  * [[ci:jenkins:warnings_next_generation|Jenkins Warnings Next Generation]]
  
 +====== Gradle 설정 ======
 +  * [[https://docs.gradle.org/current/userguide/checkstyle_plugin.html|Gradle Checkstyle Plugin]]
 +
 +<code groovy>
 +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 파일
 +}
 +</code>
java/checkstyle.1476156000.txt.gz · 마지막으로 수정됨: 2016/10/11 11:50 저자 kwon37xi