-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
51 lines (42 loc) · 1.08 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
group 'card-applets'
apply plugin: 'javacard'
compileJava {
dependsOn 'buildJavaCard'
}
buildJavaCard {
dependsOn ':tools:buildJavaCard'
}
jar {
manifest {
attributes ("Uri":_getUri(projectDir))
attributes ("Commit-hash":_getGitHash(projectDir))
}
baseName 'idpass_sign'
}
javacard {
config {
jckit _JC_SELECTED
// Using custom repo with jcardsim
addSurrogateJcardSimRepo false
addImplicitJcardSim false
addImplicitJcardSimJunit false
cap {
packageName = 'org.idpass.sign'
version = '0.1'
aid = '0xF7:0x69:0x64:0x70:0x61:0x73:0x73:0x04'
output 'sign.cap'
applet {
className = 'SignApplet'
aid = '0xf7:0x69:0x64:0x70:0x61:0x73:0x73:0x04:0x01:0x00:0x01'
}
dependencies {
remote 'local:gp211:2.1.1'
remote 'local:tools:0.0.1'
}
}
}
}
compileJava {
sourceCompatibility = _sourceCompatibility
targetCompatibility = _targetCompatibility
}