Skip to content

Instantly share code, notes, and snippets.

@jberkel
Created January 24, 2011 01:11
Show Gist options
  • Save jberkel/792647 to your computer and use it in GitHub Desktop.
Save jberkel/792647 to your computer and use it in GitHub Desktop.
Index: CrashReport/default.properties
===================================================================
--- CrashReport/default.properties (revision 259)
+++ CrashReport/default.properties (working copy)
@@ -11,3 +11,4 @@
split.density=false
# Project target.
target=android-3
+acra.version=3.2-SNAPSHOT
Index: CrashReport/build.xml
===================================================================
--- CrashReport/build.xml (revision 0)
+++ CrashReport/build.xml (revision 0)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="acra" default="help">
+
+<!-- The local.properties file is created and updated by the 'android'
+ tool.
+ It contains the path to the SDK. It should *NOT* be checked into
+ Version Control Systems. -->
+ <property file="local.properties" />
+
+ <property file="build.properties" />
+
+ <!-- The default.properties file is created and updated by the 'android'
+ tool, as well as ADT.
+ This file is an integral part of the build system for your
+ application and should be checked into Version Control Systems. -->
+ <property file="default.properties" />
+
+ <!-- Custom Android task to deal with the project target, and import the
+ proper rules.
+ This requires ant 1.6.0 or above. -->
+ <path id="android.antlibs">
+ <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/sdklib.jar" />
+ <pathelement path="${sdk.dir}/tools/lib/androidprefs.jar" />
+ </path>
+
+ <taskdef name="setup"
+ classname="com.android.ant.SetupTask"
+ classpathref="android.antlibs" />
+ <setup />
+
+ <property name="acra.jar.file" value="${out.dir}/${ant.project.name}-${acra.version}.jar" />
+ <target name="jar" depends="compile" description="build the acra jar file">
+ <jar basedir="${out.classes.dir}" destfile="${acra.jar.file}" excludes="org/acra/sampleapp/**"/>
+ </target>
+</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment