-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathbuild.gradle
39 lines (33 loc) · 973 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
version '1.0'
def outputCapName = "${rootProject.name}.${project.name}-${this.version}.cap"
def outputCapFile = file("${project.buildDir}/javacard/${outputCapName}")
def cardReaderName = localProperties.get('jc.reader')
def installArgs = [
'-r', cardReaderName,
'-params', '810200F182020800' //from :doc:install.md
]
javacard {
defaultKey this.defaultKey
config {
jckit jcHome
debugGpPro true
addImplicitJcardSim false
addImplicitJcardSimJunit false
installGpProArgs = installArgs as List<String>
cap {
packageName "${this.group}.${rootProject.name}.${variant}"
version this.version
aid 'D276000085100211010001'
output outputCapName
applet {
className 'NdefApplet'
aid "D2760000850101"
}
}
}
key {
enc defaultKey
kek defaultKey
mac defaultKey
}
}