mirror of
https://github.com/corda/corda.git
synced 2024-12-25 07:31:10 +00:00
0b35a99c5a
[CORDA-682] Specify Jigsaw module names for all JAR projects.
68 lines
1.9 KiB
Groovy
68 lines
1.9 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Corda client JavaFX modules'
|
|
|
|
//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')
|
|
}
|
|
}
|
|
}
|
|
|
|
// 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 {
|
|
compile project(':core')
|
|
compile project(':finance')
|
|
compile project(':client:rpc')
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
|
compile "com.google.guava:guava:$guava_version"
|
|
|
|
// ReactFX: Functional reactive UI programming.
|
|
compile 'org.reactfx:reactfx:2.0-M5'
|
|
compile 'org.fxmisc.easybind:easybind:1.0.3'
|
|
|
|
// Artemis Client: ability to connect to an Artemis broker and control it.
|
|
compile "org.apache.activemq:artemis-core-client:${artemis_version}"
|
|
|
|
// Unit testing helpers.
|
|
testCompile "junit:junit:$junit_version"
|
|
testCompile "org.assertj:assertj-core:${assertj_version}"
|
|
|
|
testCompile project(':test-utils')
|
|
|
|
// Integration test helpers
|
|
integrationTestCompile "junit:junit:$junit_version"
|
|
integrationTestCompile project(':node-driver')
|
|
}
|
|
|
|
task integrationTest(type: Test) {
|
|
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-jfx'
|
|
manifest {
|
|
attributes 'Automatic-Module-Name': 'net.corda.client.jfx'
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|