corda/testing/test-common/build.gradle

38 lines
1.2 KiB
Groovy
Raw Normal View History

2017-07-03 16:54:30 +00:00
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'net.corda.plugins.api-scanner'
apply plugin: 'com.jfrog.artifactory'
2017-07-03 16:54:30 +00:00
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:2.1'
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"
}
2017-07-03 16:54:30 +00:00
jar {
baseName 'corda-test-common'
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)
}
2017-07-03 16:54:30 +00:00
}
publish {
name jar.baseName
2017-07-03 16:54:30 +00:00
}