diff options
Diffstat (limited to '')
-rw-r--r-- | custom_rules.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/custom_rules.xml b/custom_rules.xml new file mode 100644 index 00000000..f7b0378a --- /dev/null +++ b/custom_rules.xml @@ -0,0 +1,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>
\ No newline at end of file |