mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
b9f7c1a08a
* Tweak JUnit 5 configurations to keep vintage engine off compile classpaths. * Configure Gradle tests to use JUnit 5.
26 lines
1.2 KiB
Groovy
26 lines
1.2 KiB
Groovy
apply plugin: 'kotlin'
|
|
|
|
dependencies {
|
|
testCompile project(path: ':core-deterministic', configuration: 'deterministicArtifacts')
|
|
testCompile project(path: ':serialization-deterministic', configuration: 'deterministicArtifacts')
|
|
testCompile project(path: ':core-deterministic:testing:verifier', configuration: 'deterministicArtifacts')
|
|
testCompile project(path: ':core-deterministic:testing:data', configuration: 'testData')
|
|
testCompile(project(':finance:contracts')) {
|
|
transitive = false
|
|
}
|
|
testCompile(project(':finance:workflows')) {
|
|
transitive = false
|
|
}
|
|
|
|
testImplementation "org.slf4j:slf4j-api:$slf4j_version"
|
|
testRuntimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
testImplementation "junit:junit:$junit_version"
|
|
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
|
}
|
|
|
|
// This module has no artifact and only contains tests.
|
|
jar.enabled = false
|