2016-11-17 11:03:40 +00:00
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'idea'
|
2016-11-17 16:27:39 +00:00
|
|
|
apply plugin: 'application'
|
2016-11-17 11:03:40 +00:00
|
|
|
apply plugin: 'net.corda.plugins.quasar-utils'
|
|
|
|
apply plugin: 'us.kirchmeier.capsule'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':samples:irs-demo')
|
2017-06-14 14:59:17 +00:00
|
|
|
compile project(':test-utils')
|
2016-11-17 11:03:40 +00:00
|
|
|
|
2017-03-30 15:27:01 +00:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
|
2017-01-03 14:15:23 +00:00
|
|
|
testCompile "junit:junit:$junit_version"
|
2016-11-17 11:03:40 +00:00
|
|
|
|
|
|
|
// Corda integration dependencies
|
2017-06-02 15:23:05 +00:00
|
|
|
compile project(path: ":node:capsule", configuration: 'runtimeArtifacts')
|
|
|
|
compile project(path: ":webserver:webcapsule", configuration: 'runtimeArtifacts')
|
2016-11-17 15:33:06 +00:00
|
|
|
compile project(':core')
|
|
|
|
compile project(':finance')
|
2016-11-17 11:03:40 +00:00
|
|
|
|
|
|
|
// Cordapp dependencies
|
|
|
|
// GraphStream: For visualisation
|
|
|
|
compile 'co.paralleluniverse:capsule:1.0.3'
|
|
|
|
compile "org.graphstream:gs-core:1.3"
|
|
|
|
compile "org.graphstream:gs-ui:1.3"
|
|
|
|
}
|
|
|
|
|
|
|
|
idea {
|
|
|
|
module {
|
|
|
|
downloadJavadoc = true // defaults to false
|
|
|
|
downloadSources = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-17 16:27:39 +00:00
|
|
|
mainClassName = 'net.corda.netmap.NetworkMapVisualiser'
|
|
|
|
|
2016-11-17 11:03:40 +00:00
|
|
|
task deployVisualiser(type: FatCapsule) {
|
2016-11-17 16:27:39 +00:00
|
|
|
applicationClass 'net.corda.netmap.NetworkMapVisualiser'
|
2016-11-17 11:03:40 +00:00
|
|
|
reallyExecutable
|
|
|
|
capsuleManifest {
|
|
|
|
minJavaVersion = '1.8.0'
|
|
|
|
javaAgents = [configurations.quasar.singleFile.name]
|
|
|
|
}
|
2017-01-03 14:15:23 +00:00
|
|
|
}
|