aboutsummaryrefslogtreecommitdiffstats
path: root/custom_rules.xml
blob: f7b0378a6dc1b371c0ffb58606dd2c3e722d83f0 (plain)
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>