Skip to content

Commit

Permalink
Merge branch 'master' into edu-master
Browse files Browse the repository at this point in the history
* master:
  fix gradle deprecations
  bump gradle plugin to 1.6.9
  bump gradle to 6.0.1 - supports JDK 13
  bump jcardsim version to safe one
  bump SDK libs

# Conflicts:
#	applet/build.gradle
  • Loading branch information
ph4r05 committed Mar 23, 2020
2 parents ea1309f + 45ee833 commit ebcb012
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Then try running JVM with `-noverify` option.
In the IntelliJ Idea this can be configured in the top tool bar
with run configurations combo box -> click -> Edit Configurations -> VM Options.

However, the `com.klinec:jcardsim:3.0.5.8` should not need the `-noverify`.
However, the `com.klinec:jcardsim:3.0.5.9` should not need the `-noverify`.

## Roadmap

Expand Down
26 changes: 15 additions & 11 deletions applet/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ version '1.0-SNAPSHOT'
buildscript {
repositories {
mavenCentral()
// mavenLocal()
}
dependencies {
classpath 'com.klinec:gradle-javacard:1.6.8'
classpath 'com.klinec:gradle-javacard:1.6.9'
}
}

Expand Down Expand Up @@ -38,20 +39,20 @@ repositories {

// Dependencies for your project
dependencies {
testCompile 'org.testng:testng:6.1.1'
testCompile 'org.slf4j:slf4j-api:1.7.2'
testCompile 'org.slf4j:slf4j-log4j12:1.7.2'
testCompile 'org.apache.logging.log4j:log4j-core:2.11.2'
testCompile 'junit:junit:4.12'
testCompile 'org.junit.jupiter:junit-jupiter-api:5.1.1'
testRuntime 'org.junit.jupiter:junit-jupiter-engine:5.1.1'
jcardsim 'com.klinec:jcardsim:3.0.5.8'
testImplementation 'org.testng:testng:6.1.1'
testImplementation 'org.slf4j:slf4j-api:1.7.2'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.2'
testImplementation 'org.apache.logging.log4j:log4j-core:2.11.2'
testImplementation 'junit:junit:4.12'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.1.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.1.1'

jcardsim 'com.klinec:jcardsim:3.0.5.9'

// Include plugin as it has bundled GP & other tools.
// Alternative: include GP manually, but the included
// version has to be compatible with the plugin.
runtimeOnly 'com.klinec:gradle-javacard:1.6.8'
runtimeOnly 'com.klinec:gradle-javacard:1.6.9'
}

test {
Expand Down Expand Up @@ -80,6 +81,8 @@ final def JC303 = libsSdk + '/jc303_kit'
final def JC304 = libsSdk + '/jc304_kit'
final def JC305 = libsSdk + '/jc305u1_kit'
final def JC305u2 = libsSdk + '/jc305u2_kit'
final def JC305u3 = libsSdk + '/jc305u3_kit'
final def JC310b43 = libsSdk + '/jc310b43_kit'

// Which JavaCard SDK to use - select
// In order to compile JC222 and lower you have to have Java SDK <= 1.8
Expand All @@ -103,6 +106,7 @@ javacard {
version '0.1'
aid '01:02:03:04:05:06:07:08:09'
output 'applet.cap'
// javaversion '1.7'

//noinspection GroovyAssignabilityCheck
applet {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip
2 changes: 1 addition & 1 deletion libs-sdks
Submodule libs-sdks updated 420 files

0 comments on commit ebcb012

Please sign in to comment.