Update Checkstyle to version 6.0. Version 6.0 supports Java 8 syntax. Change-Id: I13a5f89390be8db5a4d6ea5d6a78ff8239aaa5d2
diff --git a/common.ant.xml b/common.ant.xml index 03570ba..7bdf6ee 100755 --- a/common.ant.xml +++ b/common.ant.xml
@@ -308,7 +308,7 @@ <element name="sourcepath" implicit="yes" optional="true"/> <sequential> <taskdef resource="checkstyletask.properties" - classpath="${gwt.tools.antlib}/checkstyle-5.7-all.jar"/> + classpath="${gwt.tools.antlib}/checkstyle-6.0-all.jar"/> <mkdir dir="@{outputdirectory}"/> <checkstyle config="${gwt.root}/eclipse/settings/code-style/gwt-checkstyle.xml" maxErrors="0" failOnViolation="false" failureProperty="gwt.checkstyle.failed"> @@ -328,7 +328,7 @@ <element name="sourcepath" implicit="yes" optional="true"/> <sequential> <taskdef resource="checkstyletask.properties" - classpath="${gwt.tools.antlib}/checkstyle-5.7-all.jar"/> + classpath="${gwt.tools.antlib}/checkstyle-6.0-all.jar"/> <mkdir dir="@{outputdirectory}"/> <checkstyle config="${gwt.root}/eclipse/settings/code-style/gwt-checkstyle-tests.xml" maxErrors="0" failOnViolation="false"