forked from Slowpoke/Conversations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom_rules.xml
28 lines (21 loc) · 826 Bytes
/
custom_rules.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<project>
<target name="rename-release-with-version-number" >
<xmlproperty
collapseAttributes="true"
file="AndroidManifest.xml"
prefix="themanifest" />
<property
name="out.packaged.file"
location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}-unsigned.apk" />
<property
name="out.final.file"
location="${out.absolute.dir}/${ant.project.name}-${themanifest.manifest.android:versionName}.apk" />
</target>
<target
name="-set-release-mode"
depends="rename-release-with-version-number,android_rules.-set-release-mode" >
<echo message="target: ${build.target}" >
</echo>
</target>
</project>