Remove gradle build
This commit is contained in:
parent
01e05ed5ae
commit
7069fb5cb5
@ -191,14 +191,6 @@ resource consumption by tweaking the following variables:
|
||||
- Execute `ant` with no parameter will produce the CAP file in
|
||||
`SmartPGPApplet.cap`.
|
||||
|
||||
## Building the CAP file with Gradle
|
||||
|
||||
- Set path to the JavaCard Development Kit:
|
||||
`export JC_HOME="your/path/to/javacardkit"`
|
||||
|
||||
- Execute `gradle convertJavacard`. It will produce the CAP file in
|
||||
`build/fr/anssi/smartpgp/javacard/smartpgp.cap`.
|
||||
|
||||
## Installing the CAP file
|
||||
|
||||
The CAP file installation depends on your device, so you have to refer
|
||||
|
39
build.gradle
39
build.gradle
@ -1,39 +0,0 @@
|
||||
apply plugin: 'javacard'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url 'http://releases.marmeladburk.fidesmo.com/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
classpath 'com.fidesmo:gradle-javacard:0.2.7'
|
||||
}
|
||||
}
|
||||
|
||||
project.compileJava {
|
||||
sourceCompatibility = '1.6'
|
||||
targetCompatibility = '1.6'
|
||||
}
|
||||
|
||||
javacard {
|
||||
sdkVersion = '3.0.1'
|
||||
|
||||
cap {
|
||||
aid = '0xd2:0x76:0x00:0x01:0x24:0x01'
|
||||
packageName = 'fr.anssi.smartpgp'
|
||||
applet {
|
||||
aid = '0xd2:0x76:0x00:0x01:0x24:0x01:0x03:0x03:0xAF:0xAF:0x00:0x00:0x00:0x00:0x00:0x00'
|
||||
className = 'SmartPGPApplet'
|
||||
}
|
||||
version = '1.0'
|
||||
}
|
||||
}
|
||||
|
||||
/* Change source sets to be compatible with the original project layout. */
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'src'
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user