mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
d04e48740b
network-parameters file read in by the node at startup, of which only the list of notaries is used. For now, the driver and MockNetwork have been updated to require notaries to be started first. This is so that the same set of network parameters can be defined for all the nodes. CN in the legal name is not longer disallowed since it's no longer reserved for distributed notary names. Single-node notaries now only have one identity, their main identity. Nodes part of a cluster continue to have two. (Based off Kasia's work)
38 lines
1008 B
Groovy
38 lines
1008 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'kotlin-jpa'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Testing utilities for Corda'
|
|
|
|
dependencies {
|
|
compile project(':test-common')
|
|
compile project(':node')
|
|
compile project(':client:mock')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
compile "com.google.guava:guava:$guava_version"
|
|
|
|
// Unit testing helpers.
|
|
compile "junit:junit:$junit_version"
|
|
compile "com.nhaarman:mockito-kotlin:1.1.0"
|
|
|
|
// Guava: Google test library (collections test suite)
|
|
compile "com.google.guava:guava-testlib:$guava_version"
|
|
|
|
// OkHTTP: Simple HTTP library.
|
|
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-test-utils'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|