Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit 2adc05b

Browse files
Merge pull request #243 from eclipse/fix_remotese_example
fix remotese example
2 parents d5433ee + 0d205b2 commit 2adc05b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,22 @@ When using gradle, it is fairly simple to import Keyple components into your pro
9696

9797
```
9898
repositories {
99-
//to import snapshots
100-
maven {url 'https://oss.sonatype.org/content/repositories/snapshots' }
10199
//to import releases
102100
maven { url 'https://oss.sonatype.org/content/repositories/releases' }
101+
102+
//to import snapshots
103+
maven {url 'https://oss.sonatype.org/content/repositories/snapshots' }
103104
}
104105
105106
dependencies {
106107
//Keyple core is a mandatory library for using Keyple, in this case import the last version of keyple-java-core
107-
implementation group: 'org.eclipse.keyple', name: 'keyple-java-core', version: '+'
108+
implementation group: 'org.eclipse.keyple', name: 'keyple-java-core', version: '0.8'
108109
109110
//Import Calypso library to support Calypso Portable Object, in this case import the last version of keyple-java-calypso
110-
implementation group: 'org.eclipse.keyple', name: 'keyple-java-calypso', version: '+'
111+
implementation group: 'org.eclipse.keyple', name: 'keyple-java-calypso', version: '0.8'
111112
112113
//Import PCSC library to use a Pcsc reader, in this case import the last version of keyple-java-plugin-pcsc
113-
implementation group: 'org.eclipse.keyple', name: 'keyple-java-plugin-pcsc', version: '+'
114+
implementation group: 'org.eclipse.keyple', name: 'keyple-java-plugin-pcsc', version: '0.8'
114115
...
115116
}
116117
```

java/example/calypso/remotese/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ task ('printJavaHome') {
1717
println "Java HOME : " + System.getProperty("java.home")
1818
}
1919

20+
mainClassName = 'org.eclipse.keyple.example.remote.application.Demo_WebserviceWithRetrofit_MasterClient'
21+
2022
task('runWS_MasterClient', dependsOn: 'classes', type: JavaExec, group:'keyple') {
2123
main = 'org.eclipse.keyple.example.remote.application.Demo_WebserviceWithRetrofit_MasterClient'
2224
classpath = sourceSets.main.runtimeClasspath

0 commit comments

Comments
 (0)