From 0d205b2ec65c38e678c2fd6ce4c7b660a1bde19a Mon Sep 17 00:00:00 2001 From: OlivierDelcroix Date: Tue, 28 Jan 2020 17:30:18 +0100 Subject: [PATCH] add example gradle properties 'keyple_version' --- README.md | 11 ++++++----- java/example/calypso/remotese/build.gradle | 2 ++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 552068889..6ffc6277e 100644 --- a/README.md +++ b/README.md @@ -96,21 +96,22 @@ When using gradle, it is fairly simple to import Keyple components into your pro ``` repositories { - //to import snapshots - maven {url 'https://oss.sonatype.org/content/repositories/snapshots' } //to import releases maven { url 'https://oss.sonatype.org/content/repositories/releases' } + + //to import snapshots + maven {url 'https://oss.sonatype.org/content/repositories/snapshots' } } dependencies { //Keyple core is a mandatory library for using Keyple, in this case import the last version of keyple-java-core - implementation group: 'org.eclipse.keyple', name: 'keyple-java-core', version: '+' + implementation group: 'org.eclipse.keyple', name: 'keyple-java-core', version: '0.8' //Import Calypso library to support Calypso Portable Object, in this case import the last version of keyple-java-calypso - implementation group: 'org.eclipse.keyple', name: 'keyple-java-calypso', version: '+' + implementation group: 'org.eclipse.keyple', name: 'keyple-java-calypso', version: '0.8' //Import PCSC library to use a Pcsc reader, in this case import the last version of keyple-java-plugin-pcsc - implementation group: 'org.eclipse.keyple', name: 'keyple-java-plugin-pcsc', version: '+' + implementation group: 'org.eclipse.keyple', name: 'keyple-java-plugin-pcsc', version: '0.8' ... } ``` diff --git a/java/example/calypso/remotese/build.gradle b/java/example/calypso/remotese/build.gradle index d00fdf442..f5ef47ba2 100644 --- a/java/example/calypso/remotese/build.gradle +++ b/java/example/calypso/remotese/build.gradle @@ -17,6 +17,8 @@ task ('printJavaHome') { println "Java HOME : " + System.getProperty("java.home") } +mainClassName = 'org.eclipse.keyple.example.remote.application.Demo_WebserviceWithRetrofit_MasterClient' + task('runWS_MasterClient', dependsOn: 'classes', type: JavaExec, group:'keyple') { main = 'org.eclipse.keyple.example.remote.application.Demo_WebserviceWithRetrofit_MasterClient' classpath = sourceSets.main.runtimeClasspath