title: gradle checkstyle just output warn, but build sucess
body: <p>as you can see the checkstyle warn,but the build of this time is still success. why? I want it faild. please help.</p>
  
  <pre><code>D:\MyData\xxxx&gt;gradle clean checkstyleMain
  :clean
  :compileJava
  :processResources
  :classes
  :checkstyleMain
  [ant:checkstyle] [WARN] D:\MyData\xxxx.java:218:18: Member name 'Aource' 
  must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. [MemberName]
  
  BUILD SUCCESSFUL
  
  Total time: 4.966 secs
  </code></pre>
  
  <p>```</p>
  
  <p>see the img: <a href="https://i.stack.imgur.com/7IbRM.jpg" rel="noreferrer">https://i.stack.imgur.com/7IbRM.jpg</a></p>
  
  <p>see the checkstyle.xml: <a href="https://i.stack.imgur.com/BE4An.jpg" rel="noreferrer">https://i.stack.imgur.com/BE4An.jpg</a></p>