| Index: libadblockplus-android/build.xml |
| diff --git a/libadblockplus-android/build.xml b/libadblockplus-android/build.xml |
| index c41390f90787663c05fb2519b73246b3b625ad60..90ee31dc3303be02527a684ae9a0f9f9bb8f30a1 100644 |
| --- a/libadblockplus-android/build.xml |
| +++ b/libadblockplus-android/build.xml |
| @@ -74,4 +74,25 @@ |
| <!-- version-tag: custom --> |
| <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> |
| + |
| </project> |