mirror of
https://github.com/corda/corda.git
synced 2024-12-30 09:48:59 +00:00
45 lines
1.4 KiB
Groovy
45 lines
1.4 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Corda client mock modules'
|
|
|
|
// To find potential version conflicts, run "gradle htmlDependencyReport" and then look in
|
|
// build/reports/project/dependencies/index.html for green highlighted parts of the tree.
|
|
|
|
dependencies {
|
|
compile project(":core")
|
|
compile project(':finance:workflows')
|
|
compile project(':finance:contracts')
|
|
|
|
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}"
|
|
|
|
// Unit testing helpers.
|
|
testCompile "org.assertj:assertj-core:${assertj_version}"
|
|
|
|
testCompile project(':test-utils')
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-mock'
|
|
manifest {
|
|
attributes(
|
|
'Automatic-Module-Name': 'net.corda.client.mock',
|
|
|
|
// This JAR is part of Corda's testing framework.
|
|
// Driver will not include it as part of an out-of-process node.
|
|
'Corda-Testing': true
|
|
)
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|