2017-09-05 08:50:51 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'kotlin-jpa'
|
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
|
|
|
|
//noinspection GroovyAssignabilityCheck
|
|
|
|
configurations {
|
|
|
|
integrationTestCompile.extendsFrom testCompile
|
|
|
|
integrationTestRuntime.extendsFrom testRuntime
|
|
|
|
}
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
integrationTest {
|
|
|
|
kotlin {
|
|
|
|
compileClasspath += main.output + test.output
|
|
|
|
runtimeClasspath += main.output + test.output
|
|
|
|
srcDir file('src/integration-test/kotlin')
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDir file('src/integration-test/resources')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':test-utils')
|
2017-09-12 18:18:09 +00:00
|
|
|
compile "net.corda.plugins:cordform-common:$gradle_plugins_version"
|
2017-09-05 08:50:51 +00:00
|
|
|
|
|
|
|
// Integration test helpers
|
|
|
|
integrationTestCompile "org.assertj:assertj-core:${assertj_version}"
|
|
|
|
integrationTestCompile "junit:junit:$junit_version"
|
|
|
|
}
|
|
|
|
|
|
|
|
task integrationTest(type: Test) {
|
|
|
|
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
|
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
baseName 'corda-node-driver'
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
|
|
|
name jar.baseName
|
|
|
|
}
|