Skip to content

Files

Latest commit

9d6d732 · Apr 20, 2019

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 10, 2017
Dec 10, 2017
Apr 20, 2019

JavaCard Libraries

Local *.jar dependencies repository.

You can add here local dependencies if there are not available on the Maven central repository or you are not willing to use those.

If there is a test.jar file you can add it as a dependency by adding the following line to the dependencies {} block.

compile name: 'test'

This works only for JAR files placed right in the /libs directory (flat hierarchy). The artifact group is ignored, artifact is searched just by the name.

For subdirectories you have to use the files() or fileTree as demonstrated below.

Java 8+ is required.

Custom JCardSim

If you want to use custom JCardSim version place your jar in the libs directory, e.g., as libs/jcardsim-3.0.6.jar

Then modify project gradle file build.gradle, in particular section dependencies as follows:

dependencies {
    testCompile 'org.testng:testng:6.1.1'
    testCompile group: 'com.klinec', name: 'javacard-tools', version: '0.0.1', transitive: false
    
    // Previously, the jcardsim record:
    // jcardsim 'com.licel:jcardsim:3.0.5'
            
    // Now using custom version.
    jcardsim ':jcardsim:3.0.6'
        
    // Or you can include jcardsim directly:
    // jcardsim files(libs + '/jcardsim-3.0.5.jar')
}

globalplatform-2_1_1

Globalplatform libraries

compile fileTree(dir: rootDir.absolutePath + '/libs/globalplatform-2_1_1', include: '*.jar')

Or if you use predefined gradle file with libs variable:

compile fileTree(dir: libs + '/globalplatform-2_1_1', include: '*.jar')

License: no idea

visa_openplatform

compile fileTree(dir: rootDir.absolutePath + '/libs/visa_openplatform-2_0', include: '*.jar')

License: no idea