2016-08-26 13:29:25 +00:00
|
|
|
apply plugin: 'kotlin'
|
2016-11-18 14:41:06 +00:00
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
2016-08-26 13:29:25 +00:00
|
|
|
|
2016-12-06 10:49:46 +00:00
|
|
|
description 'Corda client modules'
|
|
|
|
|
2016-08-26 13:29:25 +00:00
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//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'
|
2016-09-08 14:28:04 +00:00
|
|
|
|
|
|
|
integrationTestCompile.extendsFrom testCompile
|
|
|
|
integrationTestRuntime.extendsFrom testRuntime
|
2016-08-26 13:29:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
2016-09-08 14:28:04 +00:00
|
|
|
integrationTest {
|
|
|
|
kotlin {
|
|
|
|
compileClasspath += main.output + test.output
|
|
|
|
runtimeClasspath += main.output + test.output
|
|
|
|
srcDir file('src/integration-test/kotlin')
|
|
|
|
}
|
|
|
|
}
|
2016-08-26 13:29:25 +00:00
|
|
|
test {
|
|
|
|
resources {
|
|
|
|
srcDir "../config/test"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// To find potential version conflicts, run "gradle htmlDependencyReport" and then look in
|
|
|
|
// build/reports/project/dependencies/index.html for green highlighted parts of the tree.
|
|
|
|
|
|
|
|
dependencies {
|
2016-08-26 13:31:17 +00:00
|
|
|
compile project(":core")
|
2016-08-26 13:29:25 +00:00
|
|
|
compile project(':node')
|
|
|
|
|
|
|
|
// Log4J: logging framework (with SLF4J bindings)
|
|
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:${log4j_version}"
|
|
|
|
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
|
|
|
|
|
2017-01-03 14:15:23 +00:00
|
|
|
compile "com.google.guava:guava:$guava_version"
|
2016-08-26 13:29:25 +00:00
|
|
|
|
|
|
|
// ReactFX: Functional reactive UI programming.
|
|
|
|
compile 'org.reactfx:reactfx:2.0-M5'
|
|
|
|
compile 'org.fxmisc.easybind:easybind:1.0.3'
|
|
|
|
|
2016-08-26 13:31:17 +00:00
|
|
|
// Artemis Client: ability to connect to an Artemis broker and control it.
|
|
|
|
compile "org.apache.activemq:artemis-core-client:${artemis_version}"
|
|
|
|
|
2016-08-26 13:29:25 +00:00
|
|
|
// Unit testing helpers.
|
2017-01-03 14:15:23 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2016-08-26 13:29:25 +00:00
|
|
|
testCompile "org.assertj:assertj-core:${assertj_version}"
|
2016-09-01 17:36:19 +00:00
|
|
|
|
|
|
|
testCompile project(':test-utils')
|
2016-09-08 14:28:04 +00:00
|
|
|
|
|
|
|
// Integration test helpers
|
2017-01-03 14:15:23 +00:00
|
|
|
integrationTestCompile "junit:junit:$junit_version"
|
2016-08-26 13:29:25 +00:00
|
|
|
}
|
|
|
|
|
2016-09-08 14:28:04 +00:00
|
|
|
task integrationTest(type: Test) {
|
|
|
|
testClassesDir = sourceSets.integrationTest.output.classesDir
|
|
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
2017-01-03 14:15:23 +00:00
|
|
|
}
|