forked from arekinath/YkOtpApplet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
16 lines (16 loc) · 823 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="dist" name="vivokey-ykhmac-javacard">
<target name="dist">
<get src="https://github.com/martinpaljak/ant-javacard/releases/download/v20.03.25/ant-javacard.jar" skipexisting="true" dest="."/>
<taskdef name="javacard" classname="pro.javacard.ant.JavaCard" classpath="ant-javacard.jar"/>
<javacard jckit="sdks/jc222_kit">
<cap targetsdk="sdks/jc222_kit" output="target/YkHMACApplet.cap" sources="src" classes="target" aid="a0:00:00:05:27:20" version="1.0">
<applet class="com.vivokey.ykhmac.YkHMACApplet" aid="a0:00:00:05:27:20:01:01"/>
</cap>
</javacard>
</target>
<target name="clean" description="clean up">
<!-- Delete the built applet -->
<delete dir="target/YkHMACApplet.cap"/>
</target>
</project>