-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
39 lines (34 loc) · 889 Bytes
/
build.gradle
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
29
30
31
32
33
34
35
36
37
38
39
apply plugin: 'javacard'
dependencies {
testCompile 'com.github.martinpaljak:apdu4j:18.10.04'
compile 'com.github.martinpaljak:globalplatformpro:18.09.14'
}
javacard {
config {
jckit '../oracle_javacard_sdks/jc221_kit'
cap {
packageName 'fr.bmartel.helloworld'
version '0.1'
aid '01:02:03:04:05:06:07:08:09'
output 'applet.cap'
applet {
className 'fr.bmartel.helloworld.HelloWorld'
aid '01:02:03:04:05:06:07:08:09:01'
}
}
}
scripts {
script {
name 'select'
apdu '00:A4:04:00:0A:01:02:03:04:05:06:07:08:09:01'
}
script {
name 'hello'
apdu '00:40:00:00:00'
}
task {
name 'sendHello'
scripts 'select', 'hello'
}
}
}