2017-07-03 16:54:30 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2018-01-04 10:09:04 +00:00
|
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
2017-08-09 10:06:25 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2017-07-03 16:54:30 +00:00
|
|
|
|
2017-11-02 20:45:27 +00:00
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
2017-11-29 15:55:13 +00:00
|
|
|
compile project(':node-api')
|
2018-12-20 12:31:16 +00:00
|
|
|
compile project(':tools:cliutils')
|
2019-04-09 19:14:37 +00:00
|
|
|
compile project(":common-logging")
|
2018-11-30 13:10:19 +00:00
|
|
|
|
|
|
|
// Unit testing helpers.
|
2019-05-15 15:40:12 +00:00
|
|
|
compile "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
2019-05-20 10:57:56 +00:00
|
|
|
compile "junit:junit:$junit_version"
|
|
|
|
|
|
|
|
runtimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
|
|
runtimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
|
|
runtimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
2019-05-15 15:40:12 +00:00
|
|
|
|
2019-06-13 09:15:13 +00:00
|
|
|
compile 'org.hamcrest:hamcrest-library:2.1'
|
2018-11-30 13:10:19 +00:00
|
|
|
compile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version"
|
|
|
|
compile "org.mockito:mockito-core:$mockito_version"
|
|
|
|
compile "org.assertj:assertj-core:$assertj_version"
|
|
|
|
compile "com.natpryce:hamkrest:$hamkrest_version"
|
2017-11-02 20:45:27 +00:00
|
|
|
}
|
|
|
|
|
2017-07-03 16:54:30 +00:00
|
|
|
jar {
|
|
|
|
baseName 'corda-test-common'
|
2020-03-05 17:39:55 +00:00
|
|
|
manifest {
|
|
|
|
// This JAR is part of Corda's testing framework.
|
|
|
|
// Driver will not include it as part of an out-of-process node.
|
|
|
|
attributes('Corda-Testing': true)
|
|
|
|
}
|
2017-07-03 16:54:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-07-03 16:54:30 +00:00
|
|
|
}
|