Skip to content

Commit

Permalink
Merge branch 'master' into edu-master
Browse files Browse the repository at this point in the history
# Conflicts:
#	applet/build.gradle
  • Loading branch information
ph4r05 committed Apr 4, 2018
2 parents 4a25490 + 66847ac commit 006aa80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
28 changes: 18 additions & 10 deletions applet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.klinec:gradle-javacard:1.5.5'
classpath 'com.klinec:gradle-javacard:1.5.7'
}
}

Expand All @@ -24,22 +24,31 @@ final def libsSdk = rootPath + '/libs-sdks'
repositories {
mavenCentral()
// mavenLocal() // for local maven repository if needed

// Repository with JCardSim, Globalplatform, etc, ...
maven {
url "https://dl.bintray.com/ph4r05/jcard"
}

// Local lib repository
flatDir {
dirs libs
}
}

// Dependencies for your project
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.testng:testng:6.1.1'

// jcardsim 'com.licel:jcardsim:3.0.4'
}

test {
useTestNG()
jvmArgs '-noverify'

dependencies {
compile 'junit:junit:4.12'
compile 'com.licel:jcardsim:3.0.5'
}
}

// JavaCard SDKs and libraries
Expand All @@ -49,20 +58,19 @@ final def JC222 = libsSdk + '/jc222_kit'
final def JC303 = libsSdk + '/jc303_kit'
final def JC304 = libsSdk + '/jc304_kit'
final def JC305 = libsSdk + '/jc305u1_kit'
final def JC305u2 = libsSdk + '/jc305u2_kit'

// Which JavaCard SDK to use - select
final def JC_SELECTED = JC304
final def JC_SELECTED = JC222

javacard {

//noinspection GroovyAssignabilityCheck
config {
jckit JC_SELECTED

// JCardSim automatically added by the javacard-gradle plugin
addSurrogateJcardSimRepo true
addImplicitJcardSim true
addImplicitJcardSimJunit true
// Using custom repo with jcardsim
addSurrogateJcardSimRepo false

//noinspection GroovyAssignabilityCheck
cap {
Expand All @@ -79,7 +87,7 @@ javacard {

//noinspection GroovyAssignabilityCheck
dependencies {
remote 'fr.bmartel:gplatform:2.1.1'
remote 'com.klinec:globalplatform:2.1.1'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion libs-sdks
Submodule libs-sdks updated 50 files
+ jc305u2_kit/api_export_files/java/io/javacard/io.exp
+ jc305u2_kit/api_export_files/java/lang/javacard/lang.exp
+ jc305u2_kit/api_export_files/java/rmi/javacard/rmi.exp
+ jc305u2_kit/api_export_files/javacard/framework/javacard/framework.exp
+ jc305u2_kit/api_export_files/javacard/framework/service/javacard/service.exp
+ jc305u2_kit/api_export_files/javacard/security/javacard/security.exp
+ jc305u2_kit/api_export_files/javacardx/apdu/javacard/apdu.exp
+ jc305u2_kit/api_export_files/javacardx/apdu/util/javacard/util.exp
+ jc305u2_kit/api_export_files/javacardx/biometry/javacard/biometry.exp
+ jc305u2_kit/api_export_files/javacardx/biometry1toN/javacard/biometry1toN.exp
+ jc305u2_kit/api_export_files/javacardx/crypto/javacard/crypto.exp
+ jc305u2_kit/api_export_files/javacardx/external/javacard/external.exp
+ jc305u2_kit/api_export_files/javacardx/framework/math/javacard/math.exp
+ jc305u2_kit/api_export_files/javacardx/framework/string/javacard/string.exp
+ jc305u2_kit/api_export_files/javacardx/framework/tlv/javacard/tlv.exp
+ jc305u2_kit/api_export_files/javacardx/framework/util/intx/javacard/intx.exp
+ jc305u2_kit/api_export_files/javacardx/framework/util/javacard/util.exp
+ jc305u2_kit/api_export_files/javacardx/security/javacard/security.exp
+45 −0 jc305u2_kit/bin/apdutool.bat
+45 −0 jc305u2_kit/bin/capdump.bat
+45 −0 jc305u2_kit/bin/capgen.bat
+45 −0 jc305u2_kit/bin/converter.bat
+46 −0 jc305u2_kit/bin/cref.bat
+ jc305u2_kit/bin/cref_t0.exe
+ jc305u2_kit/bin/cref_t1.exe
+ jc305u2_kit/bin/cref_tdual.exe
+45 −0 jc305u2_kit/bin/exp2text.bat
+45 −0 jc305u2_kit/bin/normalizer.bat
+45 −0 jc305u2_kit/bin/packager.bat
+45 −0 jc305u2_kit/bin/scriptgen.bat
+45 −0 jc305u2_kit/bin/verifycap.bat
+45 −0 jc305u2_kit/bin/verifyexp.bat
+45 −0 jc305u2_kit/bin/verifyrev.bat
+23 −0 jc305u2_kit/legal/Distribution_ReadME.txt
+931 −0 jc305u2_kit/legal/THIRDPARTYREADME.txt
+ jc305u2_kit/lib/ant-contrib-1.0b3.jar
+ jc305u2_kit/lib/api_classic.jar
+ jc305u2_kit/lib/api_classic_annotations.jar
+ jc305u2_kit/lib/api_connected.jar
+ jc305u2_kit/lib/asm-all-3.1.jar
+ jc305u2_kit/lib/bcel-5.2.jar
+ jc305u2_kit/lib/commons-cli-1.0.jar
+ jc305u2_kit/lib/commons-codec-1.3.jar
+ jc305u2_kit/lib/commons-httpclient-3.0.jar
+ jc305u2_kit/lib/commons-logging-1.1.jar
+ jc305u2_kit/lib/debug-info
+ jc305u2_kit/lib/jc-debug-proxy.jar
+ jc305u2_kit/lib/jctasks.jar
+64 −0 jc305u2_kit/lib/logging.properties
+ jc305u2_kit/lib/tools.jar

0 comments on commit 006aa80

Please sign in to comment.