java - Gradle Checkstyle Plugin Console Output -


the gradle checkstyle plugin produces lot of console output when gradle run -info option. output tends swamp more useful output other tasks.

the plugin configured follows:

checkstyle {     toolversion = '6.15'     configfile = file("$rootproject.projectdir/config/checkstyle/checkstyle.xml") } 

to see problem, build can launched this:

./gradlew clean checkstylemain -info 

the output shows in console follows (edited brevity!):

:core:checkstylemain executing task ':core:checkstylemain' (up-to-date check took 0.007 secs) due to: .... [ant:xslt] loading stylesheet <xsl:stylesheet    xmlns:xsl="http://www.w3.org/1999/xsl/transform" version="1.0"> ... <xsl:template match="checkstyle">     <html>         <head>         <style type="text/css"> ... </xsl:template> ... </xsl:stylesheet> :core:checkstylemain (thread[daemon worker thread 2,5,main]) completed. took 0.878 secs. 

the gradle version 2.10 , checkstyle plugin version 6.15.

does know how reduce or suppress console output checkstyle tasks?

if want temporarily change log level 1 task, can do:

checkstylemain{     logging.setlevel(loglevel.lifecycle) } 

logging revert default, in case, -info once task completed.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -