2019-01-23 13:26:33 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.cordapp'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2019-03-11 16:48:35 +00:00
|
|
|
cordaCompile project(':core')
|
2019-01-23 13:26:33 +00:00
|
|
|
|
|
|
|
// The trader demo CorDapp depends upon Cash CorDapp features
|
|
|
|
cordapp project(':finance:contracts')
|
|
|
|
cordapp project(':finance:workflows')
|
2019-03-11 16:48:35 +00:00
|
|
|
|
|
|
|
testCompile project(':node-driver')
|
2019-05-15 15:40:12 +00:00
|
|
|
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
|
|
|
|
|
|
|
testImplementation "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
|
|
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
|
|
|
|
2019-03-11 16:48:35 +00:00
|
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
2019-01-23 13:26:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-trader-demo-workflows'
|
|
|
|
}
|
|
|
|
|
|
|
|
cordapp {
|
|
|
|
targetPlatformVersion corda_platform_version.toInteger()
|
|
|
|
minimumPlatformVersion 1
|
|
|
|
workflow {
|
|
|
|
name "Trader Demo"
|
|
|
|
versionId 1
|
|
|
|
vendor "R3"
|
|
|
|
licence "Open Source (Apache 2)"
|
|
|
|
}
|
|
|
|
}
|