mirror of
https://github.com/corda/corda.git
synced 2024-12-29 17:28:56 +00:00
49 lines
1.5 KiB
Groovy
49 lines
1.5 KiB
Groovy
apply plugin: 'org.jetbrains.kotlin.jvm'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'corda.common-publishing'
|
|
|
|
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 {
|
|
implementation project(":core")
|
|
implementation project(':finance:workflows')
|
|
implementation 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.
|
|
testImplementation "org.assertj:assertj-core:${assertj_version}"
|
|
|
|
testImplementation 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
|
|
)
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
artifactId jar.baseName
|
|
from components.java
|
|
}
|
|
}
|
|
}
|