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.
33 lines
1.0 KiB
Groovy
33 lines
1.0 KiB
Groovy
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
dependencies {
|
|
compile project(':core')
|
|
compile project(':node-api')
|
|
compile project(':tools:cliutils')
|
|
compile project(":common-logging")
|
|
|
|
// Unit testing helpers.
|
|
compile "org.junit.jupiter:junit-jupiter-api:${junit_jupiter_version}"
|
|
compile "junit:junit:$junit_version"
|
|
|
|
runtimeOnly "org.junit.vintage:junit-vintage-engine:${junit_vintage_version}"
|
|
runtimeOnly "org.junit.jupiter:junit-jupiter-engine:${junit_jupiter_version}"
|
|
runtimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
|
|
|
|
compile 'org.hamcrest:hamcrest-library:1.3'
|
|
compile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version"
|
|
compile "org.mockito:mockito-core:$mockito_version"
|
|
compile "org.assertj:assertj-core:$assertj_version"
|
|
compile "com.natpryce:hamkrest:$hamkrest_version"
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-test-common'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|