File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 6
6
<!-- path to the main processing repo -->
7
7
<property name =" processing.dir" value =" ../../processing" />
8
8
9
+ <!-- path to the core library -->
9
10
<property name =" core.jar.path" value =" ../android-core.zip" />
10
11
12
+ <!-- Android platform to build the core library -->
13
+ <property name =" android.platform" value =" android-23" />
14
+
11
15
<!-- oh ant, you're so cute and convoluted -->
12
16
<target name =" build" depends =" sdk_chatter,actual_build" />
13
17
16
20
</target >
17
21
18
22
<target name =" sdk_whining" >
19
- <available file =" ${ env.ANDROID_SDK } /platforms/android-21 /android.jar"
23
+ <available file =" ${ env.ANDROID_SDK } /platforms/${ android.platform } /android.jar"
20
24
property =" andoid-jar-present" />
21
25
<fail unless =" andoid-jar-present"
22
- message =" Android SDK 21 could not be found in ${ env.ANDROID_SDK } /platforms/android-21 /android.jar" />
26
+ message =" Android SDK could not be found in ${ env.ANDROID_SDK } /platforms/${ android.platform } /android.jar" />
23
27
</target >
24
28
25
29
<target name =" actual_build" if =" env.ANDROID_SDK" >
33
37
target =" 1.7"
34
38
encoding =" UTF-8"
35
39
includeAntRuntime =" false"
36
- bootclasspath =" ${ env.ANDROID_SDK } /platforms/android-21 /android.jar;
40
+ bootclasspath =" ${ env.ANDROID_SDK } /platforms/${ android.platform } /android.jar;
37
41
library/wearable-1.3.0-classes.jar"
38
42
srcdir =" src" destdir =" bin" />
39
43
You can’t perform that action at this time.
0 commit comments