corda/node-api-tests/build.gradle
2024-11-21 18:41:24 +07:00

40 lines
2.0 KiB
Groovy

apply plugin: 'org.jetbrains.kotlin.jvm'
apply plugin: 'net.corda.plugins.quasar-utils'
description 'NodeAPI tests that require node etc'
dependencies {
testImplementation project(":core")
testImplementation project(":node")
testImplementation project(":node-api")
testImplementation project(":serialization")
testImplementation project(":core-test-utils")
testImplementation project(path: ':node-api', configuration:'testArtifacts')
testImplementation "javax.persistence:javax.persistence-api:2.2"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
testImplementation "junit:junit:$junit_version"
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockito_kotlin_version"
testImplementation "com.typesafe:config:$typesafe_config_version"
testImplementation "io.dropwizard.metrics:metrics-core:$metrics_version"
testImplementation "co.paralleluniverse:quasar-core:$quasar_version"
testImplementation "com.google.guava:guava:$guava_version"
testImplementation "io.netty:netty-transport-native-unix-common:$netty_version"
testImplementation "io.netty:netty-handler-proxy:$netty_version"
// Bouncy castle support needed for X509 certificate manipulation
testImplementation "org.bouncycastle:bcprov-lts8on:${bouncycastle_version}"
testImplementation "org.bouncycastle:bcpkix-lts8on:${bouncycastle_version}"
testImplementation "org.bouncycastle:bcutil-lts8on:${bouncycastle_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 "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
testImplementation project(':node-driver')
testImplementation project(':test-utils')
}