[ https://issues.apache.org/jira/browse/KAFKA-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729824#comment-14729824 ]
Ewen Cheslack-Postava commented on KAFKA-2513: ---------------------------------------------- I considered the same thing with the rat checks. It turns out to be really annoying to have those checks on for compile because it enforces rules you may not want to enforce during development. I really don't want to have to clean up the formatting of my ad hoc debugging code that I know I'm going to delete anyway... > Checkstyle is not executed until gradle's tests phase > ----------------------------------------------------- > > Key: KAFKA-2513 > URL: https://issues.apache.org/jira/browse/KAFKA-2513 > Project: Kafka > Issue Type: Bug > Reporter: Ashish K Singh > Assignee: Ashish K Singh > Priority: Minor > > Checkstyle is added as a dependency to test and until someone runs test they > won't capture checkstyle issues. To me code style is more suited along with > compile than tests. This was also brought up on KAFKA-1893. May be we should > make checkstyle a dependency of jar, instead of test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)