| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <project name="Adblock Plus Library" default="help"> | 2 <project name="Adblock Plus Library" default="help"> |
| 3 | 3 |
| 4 <!-- The local.properties file is created and updated by the 'android' tool. | 4 <!-- The local.properties file is created and updated by the 'android' tool. |
| 5 It contains the path to the SDK. It should *NOT* be checked into | 5 It contains the path to the SDK. It should *NOT* be checked into |
| 6 Version Control Systems. --> | 6 Version Control Systems. --> |
| 7 <property file="local.properties" /> | 7 <property file="local.properties" /> |
| 8 | 8 |
| 9 <!-- The ant.properties file can be created by you. It is only edited by the | 9 <!-- The ant.properties file can be created by you. It is only edited by the |
| 10 'android' tool to add properties to it. | 10 'android' tool to add properties to it. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 *********************** | 68 *********************** |
| 69 ****** IMPORTANT ****** | 69 ****** IMPORTANT ****** |
| 70 *********************** | 70 *********************** |
| 71 In all cases you must update the value of version-tag below to read 'cu
stom' instead of an integer, | 71 In all cases you must update the value of version-tag below to read 'cu
stom' instead of an integer, |
| 72 in order to avoid having your file be overridden by tools such as "andr
oid update project" | 72 in order to avoid having your file be overridden by tools such as "andr
oid update project" |
| 73 --> | 73 --> |
| 74 <!-- version-tag: custom --> | 74 <!-- version-tag: custom --> |
| 75 <import file="${sdk.dir}/tools/ant/build.xml" /> | 75 <import file="${sdk.dir}/tools/ant/build.xml" /> |
| 76 | 76 |
| 77 <!-- checkstyle target for java code --> |
| 78 <target name="checkstyle" |
| 79 description="Generates a report of code convention violations."> |
| 80 |
| 81 <taskdef |
| 82 resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.pr
operties" |
| 83 classpath="../third_party/checkstyle/java/lib/checkstyle-6.19-all.ja
r"/> |
| 84 |
| 85 <property |
| 86 name="checkstyle.header.file" |
| 87 value="../third_party/checkstyle/java/res/header.txt"/> |
| 88 |
| 89 <checkstyle |
| 90 config="../third_party/checkstyle/java/rules/eyeo_checks.xml" |
| 91 failOnViolation="true"> |
| 92 <fileset dir="src" includes="**/*.java"/> |
| 93 <formatter type="plain"/> |
| 94 </checkstyle> |
| 95 |
| 96 </target> |
| 97 |
| 77 </project> | 98 </project> |
| OLD | NEW |