+ OPTIONS='--console=plain --no-daemon' + uname -a Darwin steves-imac.lan 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 + date Tue Jun 20 12:14:13 PDT 2017 + ./gradlew --console=plain --no-daemon --version ------------------------------------------------------------ Gradle 3.4.1 ------------------------------------------------------------ Build time: 2017-03-03 19:45:41 UTC Revision: 9eb76efdd3d034dc506c719dac2955efb5ff9a93 Groovy: 2.4.7 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_131 (Oracle Corporation 25.131-b11) OS: Mac OS X 10.12.5 x86_64 + ./gradlew --console=plain --no-daemon projects :projects ------------------------------------------------------------ Root project ------------------------------------------------------------ Root project 'gradle-checkstyle-example' No sub-projects To see a list of the tasks of a project, run gradlew :tasks For example, try running gradlew :tasks BUILD SUCCESSFUL Total time: 2.129 secs + ./gradlew --console=plain --no-daemon dependencies --configuration checkstyle :dependencies ------------------------------------------------------------ Root project ------------------------------------------------------------ checkstyle - The Checkstyle libraries to be used for this project. \--- com.puppycrawl.tools:checkstyle:5.9 +--- antlr:antlr:2.7.7 +--- commons-beanutils:commons-beanutils-core:1.8.3 +--- commons-cli:commons-cli:1.2 \--- com.google.guava:guava-jdk5:14.0.1 BUILD SUCCESSFUL Total time: 2.276 secs + echo '*** *** *** *** *** ***' *** *** *** *** *** *** + ./gradlew --console=plain --no-daemon clean check :clean :compileJava :processResources NO-SOURCE :classes :checkstyleMain :compileTestJavaNote: /Users/sghill/code/build-well/gradle-checkstyle-example/src/test/java/io/buildwell/foundation/CalculatorTest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. :processTestResources NO-SOURCE :testClasses :checkstyleTest[ant:checkstyle] /Users/sghill/code/build-well/gradle-checkstyle-example/src/test/java/io/buildwell/foundation/CalculatorTest.java:5:1: Import from illegal package - junit.framework.Assert.assertEquals. FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':checkstyleTest'. > Checkstyle rule violations were found. See the report at: file:///Users/sghill/code/build-well/gradle-checkstyle-example/build/reports/checkstyle/test.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 3.726 secs