mirror of
https://github.com/corda/corda.git
synced 2024-12-30 01:39:04 +00:00
4aaefb4fe9
* Split Workflow and contracts of Finance App into separate Cordapps, part 1 - content which is different between OS and ENT is still in contract Cordapp. * Move CashSelection implementations to workflow module. * Move CashSelection implmentations to workflow module. * Move finance module to finance-flows, top level finance module is empty. * Move finance module to finance-flows, top level finance module is empty. * Updated build comment. * Revert publication of combined (contracts and flows) corda-finance.jar (to maintain backwards compatibility with 3rd party cordapps dependent on finance) * Added backwards compatibility clarification comment. * Re-instate new cordapp metadata. * Global rename of `finance-flows` to `finance-workflows` to follow adopted naming conventions. * Addressed final review comments. * Rename application to "Corda Finance Demo" * Generation of original corda-finance jar from new sub-modules. * Fixed and tested demobench with new split finance contract and workflow jars. * Renamed finance sub-modules to contracts and workflows. * Remove Michele!!! * Minor fix to filtering logic. * Align CorDapp configuration filename with workflows jar. * Fix breaks caused by finance module naming changes. * Final alignment between OS/ENT of finance contract code.
92 lines
2.6 KiB
Groovy
92 lines
2.6 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'java'
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Corda Shell'
|
|
|
|
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')
|
|
}
|
|
}
|
|
test {
|
|
resources {
|
|
srcDir file('src/test/resources')
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
|
|
compile project(':node-api')
|
|
compile project(':client:rpc')
|
|
|
|
// Jackson support: serialisation to/from JSON, YAML, etc.
|
|
compile project(':client:jackson')
|
|
|
|
// CRaSH: An embeddable monitoring and admin shell with support for adding new commands written in Groovy.
|
|
compile("com.github.corda.crash:crash.shell:$crash_version") {
|
|
exclude group: "org.slf4j", module: "slf4j-jdk14"
|
|
exclude group: "org.bouncycastle"
|
|
}
|
|
|
|
compile("com.github.corda.crash:crash.connectors.ssh:$crash_version") {
|
|
exclude group: "org.slf4j", module: "slf4j-jdk14"
|
|
exclude group: "org.bouncycastle"
|
|
}
|
|
|
|
// JAnsi: for drawing things to the terminal in nicely coloured ways.
|
|
compile "org.fusesource.jansi:jansi:$jansi_version"
|
|
|
|
// Manifests: for reading stuff from the manifest file.
|
|
compile "com.jcabi:jcabi-manifests:1.1"
|
|
|
|
// For logging, required for ANSIProgressRenderer.
|
|
compile "org.apache.logging.log4j:log4j-core:$log4j_version"
|
|
|
|
// Unit testing helpers.
|
|
testCompile "junit:junit:$junit_version"
|
|
testCompile "org.assertj:assertj-core:$assertj_version"
|
|
testCompile project(':test-utils')
|
|
testCompile project(':finance:contracts')
|
|
testCompile project(':finance:workflows')
|
|
|
|
// Jsh: Testing SSH server.
|
|
integrationTestCompile "com.jcraft:jsch:$jsch_version"
|
|
|
|
integrationTestCompile project(':node-driver')
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
// Resolves a Gradle warning about not scanning for pre-processors.
|
|
options.compilerArgs << '-proc:none'
|
|
}
|
|
|
|
task integrationTest(type: Test) {
|
|
testClassesDirs = sourceSets.integrationTest.output.classesDirs
|
|
classpath = sourceSets.integrationTest.runtimeClasspath
|
|
}
|
|
|
|
jar {
|
|
baseName 'corda-shell'
|
|
}
|
|
|
|
publish {
|
|
name jar.baseName
|
|
}
|