diff options
| author | Bananeweizen <bananeweizen@gmx.de> | 2013-08-08 18:50:27 +0200 |
|---|---|---|
| committer | Bananeweizen <bananeweizen@gmx.de> | 2013-08-08 18:50:38 +0200 |
| commit | 262e180e0058253f3463b7c8ad579115872c517f (patch) | |
| tree | f78558546162f779565a5e59135bbbe78ba4bc47 | |
| parent | 812e9fc3f7b304bd68fbeb56e534ca3a3973c5b4 (diff) | |
| download | cgeo-262e180e0058253f3463b7c8ad579115872c517f.zip cgeo-262e180e0058253f3463b7c8ad579115872c517f.tar.gz cgeo-262e180e0058253f3463b7c8ad579115872c517f.tar.bz2 | |
ci: prepare running findbugs
| -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 |
