From 7069fb5cb544dd30009d63899e85ede4e23ab75d Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine Date: Mon, 30 Nov 2020 14:01:24 +0100 Subject: [PATCH] Remove gradle build --- README.md | 8 -------- build.gradle | 39 --------------------------------------- 2 files changed, 47 deletions(-) delete mode 100644 build.gradle diff --git a/README.md b/README.md index e35f151..178b029 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 2fa3eff..0000000 --- a/build.gradle +++ /dev/null @@ -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' - } - } -}