2016-08-30 12:50:02 +00:00
|
|
|
apply plugin: 'kotlin'
|
2017-07-12 13:09:49 +00:00
|
|
|
apply plugin: 'kotlin-jpa'
|
2016-11-18 14:41:06 +00:00
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2018-01-04 10:09:04 +00:00
|
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
2017-06-26 17:07:56 +00:00
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2016-08-30 12:50:02 +00:00
|
|
|
|
2016-12-06 10:49:46 +00:00
|
|
|
description 'Testing utilities for Corda'
|
|
|
|
|
2016-08-30 12:50:02 +00:00
|
|
|
dependencies {
|
2017-06-28 08:54:09 +00:00
|
|
|
compile project(':test-common')
|
2018-10-05 10:01:27 +00:00
|
|
|
compile(project(':node')) {
|
|
|
|
// The Node only needs this for binary compatibility with Cordapps written in Kotlin 1.1.
|
|
|
|
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jre8'
|
|
|
|
}
|
2017-03-29 16:28:02 +00:00
|
|
|
compile project(':client:mock')
|
2016-08-30 12:50:02 +00:00
|
|
|
|
2018-04-24 13:03:41 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
2016-08-30 12:50:02 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
|
2017-01-03 14:15:23 +00:00
|
|
|
compile "com.google.guava:guava:$guava_version"
|
2016-08-30 12:50:02 +00:00
|
|
|
|
2016-08-19 15:27:50 +00:00
|
|
|
// Guava: Google test library (collections test suite)
|
2017-03-24 11:22:53 +00:00
|
|
|
compile "com.google.guava:guava-testlib:$guava_version"
|
2016-10-25 13:23:18 +00:00
|
|
|
|
|
|
|
// OkHTTP: Simple HTTP library.
|
2017-01-03 14:15:23 +00:00
|
|
|
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
|
2019-09-03 15:40:08 +00:00
|
|
|
compile project(':confidential-identities')
|
|
|
|
|
2020-01-31 10:55:05 +00:00
|
|
|
// JimFS: in memory java.nio filesystem. Used for test and simulation utilities.
|
|
|
|
compile "com.google.jimfs:jimfs:1.1"
|
|
|
|
|
2019-09-20 14:10:15 +00:00
|
|
|
testCompile "org.apache.commons:commons-lang3:3.9"
|
2017-01-03 14:15:23 +00:00
|
|
|
}
|
2017-06-06 14:05:47 +00:00
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-test-utils'
|
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-06-06 14:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2017-07-18 11:34:56 +00:00
|
|
|
name jar.baseName
|
2017-06-06 14:05:47 +00:00
|
|
|
}
|