mirror of
https://github.com/corda/corda.git
synced 2024-12-21 05:53:23 +00:00
b9f7c1a08a
* Tweak JUnit 5 configurations to keep vintage engine off compile classpaths. * Configure Gradle tests to use JUnit 5.
39 lines
1.2 KiB
Groovy
39 lines
1.2 KiB
Groovy
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"
|
|
cordaCompile project(':core')
|
|
|
|
// The trader demo CorDapp depends upon Cash CorDapp features
|
|
cordapp project(':finance:contracts')
|
|
cordapp project(':finance:workflows')
|
|
|
|
testCompile project(':node-driver')
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
|
testImplementation "junit:junit:$junit_version"
|
|
|
|
testRuntimeOnly "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}"
|
|
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
}
|
|
|
|
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)"
|
|
}
|
|
}
|