Remove gradle build

This commit is contained in:
Arnaud Fontaine 2020-11-30 14:01:24 +01:00
parent 01e05ed5ae
commit 7069fb5cb5
2 changed files with 0 additions and 47 deletions

View File

@ -191,14 +191,6 @@ resource consumption by tweaking the following variables:
- Execute `ant` with no parameter will produce the CAP file in - Execute `ant` with no parameter will produce the CAP file in
`SmartPGPApplet.cap`. `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 ## Installing the CAP file
The CAP file installation depends on your device, so you have to refer The CAP file installation depends on your device, so you have to refer

View File

@ -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'
}
}
}