| Index: libadblockplus-android-tests/build.xml |
| diff --git a/libadblockplus-android-tests/build.xml b/libadblockplus-android-tests/build.xml |
| index 3526b3dca2e5c19327b3a7b4ce23b2727ce0b7c5..96423144f3b5e11c3acc8c9293e4eaf96384cde6 100644 |
| --- a/libadblockplus-android-tests/build.xml |
| +++ b/libadblockplus-android-tests/build.xml |
| @@ -89,6 +89,27 @@ |
| <!-- version-tag: 1 --> |
| <import file="${sdk.dir}/tools/ant/build.xml" /> |
| + <!-- checkstyle target for java code --> |
| + <target name="checkstyle" |
| + description="Generates a report of code convention violations."> |
| + |
| + <taskdef |
| + resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" |
| + classpath="../third_party/checkstyle/java/lib/checkstyle-6.19-all.jar"/> |
| + |
| + <property |
| + name="checkstyle.header.file" |
| + value="../third_party/checkstyle/java/res/header.txt"/> |
| + |
| + <checkstyle |
| + config="../third_party/checkstyle/java/rules/eyeo_checks.xml" |
| + failOnViolation="true"> |
| + <fileset dir="src" includes="**/*.java"/> |
| + <formatter type="plain"/> |
| + </checkstyle> |
| + |
| + </target> |
| + |
| <!-- custom test target to perform specific test/method only --> |
| <target |
| name="testOnly" |