From ad44f0aa62d20d0a054d5d1fea909e9e53cdcb47 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Tue, 5 May 2015 08:54:51 -0700 Subject: [PATCH] Make checkstyle fail build by default It seems almost every developer has caused Travis CI to break due to checkstyle failures. To prevent further breakages, checkstyle will now fail the build by default. Specifying checkstyle.ignoreFailures=true in ~/.gradle/gradle.properties will turn the failures into warnings, which was the old behavior. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 00afd9419e..6442429e58 100644 --- a/build.gradle +++ b/build.gradle @@ -94,7 +94,7 @@ subprojects { checkstyle { configFile = file("$rootDir/checkstyle.xml") toolVersion = "6.5" - ignoreFailures = true + ignoreFailures = false if (rootProject.hasProperty("checkstyle.ignoreFailures")) { ignoreFailures = rootProject.properties["checkstyle.ignoreFailures"].toBoolean() }