mirror of
https://github.com/corda/corda.git
synced 2024-12-29 17:28:56 +00:00
72778b7fb0
* ENT-11728: Switched to LTS version of BC. Also removed PQC algos as not supported in LTS. * ENT-11728: Removed the SPHINCS PQC algorithm. * ENT-11728: Added dependency on bcutil to fix missing class error.
56 lines
1.8 KiB
Groovy
56 lines
1.8 KiB
Groovy
plugins {
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'net.corda.plugins.api-scanner'
|
|
id 'java-library'
|
|
id 'corda.common-publishing'
|
|
}
|
|
|
|
description 'Core test types and helpers for testing Corda'
|
|
|
|
dependencies {
|
|
implementation project(':core')
|
|
implementation project(':node-api')
|
|
implementation project(':serialization')
|
|
api project(':test-common')
|
|
implementation "io.netty:netty-handler-proxy:$netty_version"
|
|
|
|
api "org.jetbrains.kotlin:kotlin-test"
|
|
|
|
// Bouncy castle support needed for X509 certificate manipulation
|
|
implementation "org.bouncycastle:bcprov-lts8on:${bouncycastle_version}"
|
|
implementation "org.bouncycastle:bcpkix-lts8on:${bouncycastle_version}"
|
|
|
|
implementation "org.slf4j:slf4j-api:$slf4j_version"
|
|
implementation "org.mockito.kotlin:mockito-kotlin:$mockito_kotlin_version"
|
|
implementation "org.mockito:mockito-core:$mockito_version"
|
|
implementation "com.natpryce:hamkrest:$hamkrest_version"
|
|
implementation "com.google.guava:guava-testlib:$guava_version"
|
|
implementation "io.reactivex:rxjava:$rxjava_version"
|
|
implementation "junit:junit:$junit_version"
|
|
implementation("org.apache.activemq:artemis-server:${artemis_version}") {
|
|
exclude group: 'org.apache.commons', module: 'commons-dbcp2'
|
|
exclude group: 'org.jgroups', module: 'jgroups'
|
|
}
|
|
|
|
testImplementation "org.assertj:assertj-core:${assertj_version}"
|
|
testImplementation 'org.hamcrest:hamcrest-library:2.1'
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-core-test-utils'
|
|
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)
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
artifactId jar.baseName
|
|
from components.java
|
|
}
|
|
}
|
|
}
|