diff options
| -rw-r--r-- | main/build.xml | 16 | ||||
| -rw-r--r-- | main/compile-libs/findbugs-ant.jar | bin | 0 -> 29442 bytes |
2 files changed, 15 insertions, 1 deletions
diff --git a/main/build.xml b/main/build.xml index b6f5170..d4c8077 100644 --- a/main/build.xml +++ b/main/build.xml @@ -61,7 +61,21 @@ description="Changes API key to debug"> </target> - <!-- extension targets. Uncomment the ones where you want to do custom work + <taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask"> + <classpath> + <pathelement location="./compile-libs/findbugs-ant.jar"/> + </classpath> + </taskdef> + + <target name="findbugs"> + <mkdir dir="reports" /> + <findbugs home="${findbugs.home}" output="xml" outputFile="reports/findbugs.xml"> + <auxClasspath path="${android.jar}" /> + <class location="${out.dir}" /> + </findbugs> + </target> + + <!-- extension targets. Uncomment the ones where you want to do custom work in between standard targets --> <target name="-pre-build"> <condition property="build.mode.release" else="false"> diff --git a/main/compile-libs/findbugs-ant.jar b/main/compile-libs/findbugs-ant.jar Binary files differnew file mode 100644 index 0000000..269f1a5 --- /dev/null +++ b/main/compile-libs/findbugs-ant.jar |
