Skip to content

Commit 0df57a3

Browse files
committed
spaceships: instructions clarified on how to use 1.2-Snapshot from token-sdk source
1 parent f94ab93 commit 0df57a3

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

Tokens/spaceships-javaAPIs/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@
77
tokens_release_group = 'com.r3.corda.lib.tokens'
88
tokens_release_version = '1.2-SNAPSHOT'
99
```
10-
You must download the latest source [here](https://github.com/corda/token-sdk) and then run the gradle task 'publishToMavenLocal'
10+
You must download the latest source [here](https://github.com/corda/token-sdk)
11+
12+
Add the money modules to the following block in token-sdk project build.gradle
13+
```java
14+
def publishProjects = [
15+
project(":contracts"),
16+
project(":workflows"),
17+
project(":modules:money")
18+
]
19+
```
20+
Finally, run the gradle task 'publishToMavenLocal'.
1121

1222
---
1323
This CorDapp demonstrates the new Java APIs released with Token SDK 1.2

Tokens/spaceships-javaAPIs/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ allprojects {
4848
maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda' }
4949
maven { url 'https://jitpack.io' }
5050
maven { url 'https://repo.gradle.org/gradle/libs-releases' }
51+
maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-lib' }
52+
maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-lib-dev' }
5153
}
5254

5355
tasks.withType(JavaCompile) {
@@ -103,7 +105,7 @@ dependencies {
103105
// Token SDK dependencies.
104106
cordapp "$tokens_release_group:tokens-contracts:$tokens_release_version"
105107
cordapp "$tokens_release_group:tokens-workflows:$tokens_release_version"
106-
cordapp "$tokens_release_group:tokens-modules:$tokens_release_version"
108+
cordapp "$tokens_release_group:tokens-money:$tokens_release_version"
107109
}
108110

109111
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
@@ -113,7 +115,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
113115
}
114116
cordapp("$tokens_release_group:tokens-contracts:$tokens_release_version")
115117
cordapp("$tokens_release_group:tokens-workflows:$tokens_release_version")
116-
cordapp("$tokens_release_group:tokens-modules:$tokens_release_version")
118+
cordapp("$tokens_release_group:tokens-money:$tokens_release_version")
117119
cordapp project(':contracts')
118120
cordapp project(':workflows')
119121
}

Tokens/spaceships-javaAPIs/workflows/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies {
5151
cordapp project(":contracts")
5252

5353
// Token SDK dependencies.
54-
cordaCompile "$tokens_release_group:tokens-modules:$tokens_release_version"
54+
cordaCompile "$tokens_release_group:tokens-money:$tokens_release_version"
5555
cordaCompile "$tokens_release_group:tokens-workflows:$tokens_release_version"
5656

5757
// Other dependencies

0 commit comments

Comments
 (0)