mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Fixes to build.xml to actually be able to sign a jar in the 1.5 world order.
This commit is contained in:
parent
a3232c02f3
commit
a54d1c2098
13
build.xml
13
build.xml
@ -42,7 +42,9 @@
|
|||||||
<pathelement path="${sdk-location}/tools/lib/androidprefs.jar" />
|
<pathelement path="${sdk-location}/tools/lib/androidprefs.jar" />
|
||||||
<pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" />
|
<pathelement path="${sdk-location}/tools/lib/apkbuilder.jar" />
|
||||||
<pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
|
<pathelement path="${sdk-location}/tools/lib/jarutils.jar" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<property environment="env"/>
|
||||||
|
|
||||||
<taskdef name="setup"
|
<taskdef name="setup"
|
||||||
classname="com.android.ant.SetupTask"
|
classname="com.android.ant.SetupTask"
|
||||||
@ -122,6 +124,9 @@
|
|||||||
|
|
||||||
<!-- The final package file to generate -->
|
<!-- The final package file to generate -->
|
||||||
<property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/>
|
<property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/>
|
||||||
|
<property name="out-unsigned-package" value="${out-folder}/${ant.project.name}-unsigned.apk"/>
|
||||||
|
<property name="out-signed-package" value="${out-folder}/${ant.project.name}-signed.apk"/>
|
||||||
|
|
||||||
|
|
||||||
<!-- Tools -->
|
<!-- Tools -->
|
||||||
<condition property="exe" value=".exe" else=""><os family="windows"/></condition>
|
<condition property="exe" value=".exe" else=""><os family="windows"/></condition>
|
||||||
@ -252,10 +257,10 @@
|
|||||||
<exec executable="jarsigner" failonerror="true">
|
<exec executable="jarsigner" failonerror="true">
|
||||||
<arg value="-verbose" />
|
<arg value="-verbose" />
|
||||||
<arg value="-storepass" />
|
<arg value="-storepass" />
|
||||||
<arg value="${env.jarpass}" />
|
<arg value="${env.jarpass}" />
|
||||||
<arg value="-signedjar" />
|
<arg value="-signedjar" />
|
||||||
<arg value="${out-signed-package-ospath}" />
|
<arg value="${out-signed-package}" />
|
||||||
<arg value="${out-unsigned-package-ospath}" />
|
<arg value="${out-unsigned-package}" />
|
||||||
|
|
||||||
<arg value="fsckcom" />
|
<arg value="fsckcom" />
|
||||||
</exec>
|
</exec>
|
||||||
|
Loading…
Reference in New Issue
Block a user