사용자 도구

사이트 도구


java:checkstyle

차이

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

차이 보기로 링크

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