Skip to content

Commit

Permalink
Build updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rorist committed Jan 22, 2015
1 parent 7d99e76 commit 51462d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
28 changes: 12 additions & 16 deletions build.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2009-2010 Aubort Jean-Baptiste (Rorist)
Licensed under GNU's GPL 2, see README
Copyright (C) 2009-2015 Aubort Jean-Baptiste (Rorist)
Licensed under GNU's GPL 3, see README
-->
<project name="NetworkDiscovery" default="help">
<property file="local.properties"/>
<property file="build.properties"/>
<property file="default.properties"/>
<path id="android.antlibs">
<pathelement path="${sdk-location}/tools/lib/anttasks.jar" />
<pathelement path="${sdk-location}/tools/lib/sdklib.jar" />
<pathelement path="${sdk-location}/tools/lib/androidprefs.jar" />
<pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" />
<pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
</path>
<taskdef name="setup"
classname="com.android.ant.SetupTask"
classpathref="android.antlibs"/>
<setup />
<property file="local.properties" />
<property file="build.properties" />
<property file="ant.properties" />
<fail
message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var"
unless="sdk.dir" />
<import file="custom_rules.xml" optional="true" />
<!-- version-tag: 1 -->
<import file="${sdk.dir}/tools/ant/build.xml" />
</project>

2 changes: 2 additions & 0 deletions local.properties-example
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
sdk-location=/opt/android-sdk
sdk.dir=/opt/android-sdk
target=android-17

0 comments on commit 51462d0

Please sign in to comment.