mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +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.
79 lines
2.6 KiB
Groovy
79 lines
2.6 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'application'
|
|
|
|
sourceCompatibility = 1.8
|
|
mainClassName = 'net.corda.explorer.Main'
|
|
|
|
// Use manual resource copying of log4j2.xml rather than source sets.
|
|
// This prevents problems in IntelliJ with regard to duplicate source roots.
|
|
processResources {
|
|
from file("$rootDir/config/dev/log4j2.xml")
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
|
testCompile "junit:junit:$junit_version"
|
|
|
|
// TornadoFX: A lightweight Kotlin framework for working with JavaFX UI's.
|
|
compile 'no.tornado:tornadofx:1.5.9'
|
|
|
|
// Corda Core: Data structures and basic types needed to work with Corda.
|
|
compile project(':core')
|
|
compile project(':client:jfx')
|
|
compile project(':client:mock')
|
|
compile project(':node-driver')
|
|
compile project(':finance:contracts')
|
|
compile project(':finance:workflows')
|
|
|
|
// Capsule is a library for building independently executable fat JARs.
|
|
// We only need this dependency to compile our Caplet against.
|
|
compileOnly "co.paralleluniverse:capsule:$capsule_version"
|
|
|
|
// FontAwesomeFX: The "FontAwesome" icon library.
|
|
compile 'de.jensd:fontawesomefx-fontawesome:4.7.0'
|
|
|
|
// ReactFX: Functional reactive UI programming.
|
|
compile 'org.reactfx:reactfx:2.0-M5'
|
|
compile 'org.fxmisc.easybind:easybind:1.0.3'
|
|
|
|
// JFXtras: useful widgets including a calendar control.
|
|
compile 'org.jfxtras:jfxtras-agenda:8.0-r5'
|
|
compile 'org.jfxtras:jfxtras-font-roboto:8.0-r5'
|
|
|
|
// Humanize: formatting
|
|
compile 'com.github.mfornos:humanize-icu:1.2.2'
|
|
|
|
// Controls FX: more java FX components http://fxexperience.com/controlsfx/
|
|
compile 'org.controlsfx:controlsfx:8.40.12'
|
|
// This provide com.apple.eawt stub for non-mac system.
|
|
compile 'com.yuvimasory:orange-extensions:1.3.0'
|
|
|
|
// JOpt: for command line flags.
|
|
compile "net.sf.jopt-simple:jopt-simple:$jopt_simple_version"
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
// Resolves a Gradle warning about not scanning for pre-processors.
|
|
options.compilerArgs << '-proc:none'
|
|
}
|
|
|
|
task runDemoNodes(dependsOn: 'classes', type: JavaExec) {
|
|
main = 'net.corda.explorer.MainKt'
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
}
|
|
|
|
task runSimulationNodes(dependsOn: 'classes', type: JavaExec) {
|
|
main = 'net.corda.explorer.MainKt'
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
args '-S'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Automatic-Module-Name': 'net.corda.tools.explorer'
|
|
)
|
|
}
|
|
} |