mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
42 lines
1.2 KiB
Groovy
42 lines
1.2 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'kotlin-jpa'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'net.corda.plugins.api-scanner'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Testing utilities for Corda'
|
|
|
|
dependencies {
|
|
compile project(':test-common')
|
|
compile project(':node')
|
|
compile project(':client:mock')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
|
|
compile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
compile "com.google.guava:guava:$guava_version"
|
|
|
|
// Unit testing helpers.
|
|
compile "junit:junit:$junit_version"
|
|
compile 'org.hamcrest:hamcrest-library:1.3'
|
|
compile 'com.nhaarman:mockito-kotlin:1.5.0'
|
|
compile "org.mockito:mockito-core:$mockito_version"
|
|
compile "org.assertj:assertj-core:$assertj_version"
|
|
|
|
// Guava: Google test library (collections test suite)
|
|
compile "com.google.guava:guava-testlib:$guava_version"
|
|
|
|
// OkHTTP: Simple HTTP library.
|
|
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-test-utils'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|