mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
3e007c02f4
* Make mockito available everywhere (core in particular). * Also set the not-found path as FNFE message.
36 lines
1.1 KiB
Groovy
36 lines
1.1 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
description 'Testing utilities for Corda'
|
|
|
|
//noinspection GroovyAssignabilityCheck
|
|
configurations {
|
|
// we don't want isolated.jar in classPath, since we want to test jar being dynamically loaded as an attachment
|
|
runtime.exclude module: 'isolated'
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':finance')
|
|
compile project(':core')
|
|
compile project(':node')
|
|
compile project(':webserver')
|
|
compile project(':verifier')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$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 "com.nhaarman:mockito-kotlin:1.1.0"
|
|
|
|
// 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"
|
|
}
|