Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Tokens & Accounts SDK #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ buildscript {
mavenCentral()
jcenter()
maven { url 'https://software.r3.com/artifactory/corda-releases' }
maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases' }
}

dependencies {
Expand All @@ -29,6 +30,8 @@ allprojects { //Properties that you need to compile your project (The applicatio
mavenCentral()
maven { url 'https://software.r3.com/artifactory/corda' }
maven { url 'https://jitpack.io' }
maven { url 'https://software.r3.com/artifactory/corda-lib-dev' }
maven { url 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-lib' }
}

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
Expand Down Expand Up @@ -83,6 +86,12 @@ dependencies {
cordaCompile "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion"
cordaCompile "org.apache.logging.log4j:log4j-web:$log4jVersion"
cordaCompile "org.slf4j:jul-to-slf4j:$slf4jVersion"

cordapp "$cordaTokenReleaseGroup:tokens-contracts:$cordaTokenVersion"
cordapp "$cordaTokenReleaseGroup:tokens-workflows:$cordaTokenVersion"
cordapp "$cordaConfidentialIdReleaseGroup:ci-workflows:$cordaConfidentialIdReleaseVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-contracts:$cordaAccountsReleaseVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-workflows:$cordaAccountsReleaseVersion"
}

task installQuasar(type: Copy) {
Expand All @@ -106,6 +115,11 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
}
cordapp project(':contracts')
cordapp project(':workflows')
cordapp "$cordaConfidentialIdReleaseGroup:ci-workflows:$cordaConfidentialIdReleaseVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-contracts:$cordaAccountsReleaseVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-workflows:$cordaAccountsReleaseVersion"
cordapp "$cordaTokenReleaseGroup:tokens-contracts:$cordaTokenVersion"
cordapp "$cordaTokenReleaseGroup:tokens-workflows:$cordaTokenVersion"
runSchemaMigration = true //This configuration is for any CorDapps with custom schema, We will leave this as true to avoid
//problems for developers who are not familiar with Corda. If you are not using custom schemas, you can change
//it to false for quicker project compiling time.
Expand Down
3 changes: 3 additions & 0 deletions contracts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
// Corda dependencies.
cordaCompile "$cordaCoreReleaseGroup:corda-core:$cordaCoreVersion"
cordaCompile "$cordaTokenReleaseGroup:tokens-contracts:$cordaTokenVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-contracts:$cordaAccountsReleaseVersion"

testCompile "$cordaReleaseGroup:corda-node-driver:$cordaVersion"
}

Expand Down
6 changes: 6 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ cordaVersion=4.8
cordaCoreVersion=4.8
cordaGradlePluginsVersion=5.0.12
kotlinVersion=1.2.71
cordaTokenReleaseGroup=com.r3.corda.lib.tokens
cordaTokenVersion=1.2.3
cordaAccountsReleaseGroup=com.r3.corda.lib.accounts
cordaAccountsReleaseVersion=1.0.2
cordaConfidentialIdReleaseGroup=com.r3.corda.lib.ci
cordaConfidentialIdReleaseVersion=1.0
junitVersion=4.12
quasarVersion=0.7.10
log4jVersion=2.11.2
Expand Down
4 changes: 4 additions & 0 deletions workflows/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ dependencies {
testCompile "$cordaReleaseGroup:corda-node-driver:$cordaVersion"

// CorDapp dependencies.
cordaCompile "$cordaTokenReleaseGroup:tokens-workflows:$cordaTokenVersion"
cordapp "$cordaConfidentialIdReleaseGroup:ci-workflows:$cordaConfidentialIdReleaseVersion"
cordapp "$cordaAccountsReleaseGroup:accounts-workflows:$cordaAccountsReleaseVersion"

cordapp project(":contracts")
cordapp project(":cbdc-bridge")
}
Expand Down