diff --git a/build.gradle b/build.gradle index e8dcc71..a886f27 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { @@ -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) { @@ -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) { @@ -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. diff --git a/contracts/build.gradle b/contracts/build.gradle index c42fa1a..e83e9c3 100644 --- a/contracts/build.gradle +++ b/contracts/build.gradle @@ -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" } diff --git a/gradle.properties b/gradle.properties index b2606f6..d2bcd67 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/workflows/build.gradle b/workflows/build.gradle index fe2cbf4..49eb380 100644 --- a/workflows/build.gradle +++ b/workflows/build.gradle @@ -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") }