corda/samples/network-visualiser/build.gradle

57 lines
1.5 KiB
Groovy
Raw Normal View History

2016-11-17 11:03:40 +00:00
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'idea'
apply plugin: 'application'
2016-11-17 11:03:40 +00:00
apply plugin: 'net.corda.plugins.quasar-utils'
apply plugin: 'us.kirchmeier.capsule'
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/exposed'
}
}
dependencies {
compile project(':samples:irs-demo')
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
testCompile "junit:junit:$junit_version"
2016-11-17 11:03:40 +00:00
// Corda integration dependencies
runtime project(path: ":node:capsule", configuration: 'runtimeArtifacts')
runtime project(path: ":node:webserver:webcapsule", configuration: 'runtimeArtifacts')
2016-11-17 15:33:06 +00:00
compile project(':core')
compile project(':finance')
testCompile project(':test-utils')
2016-11-17 11:03:40 +00:00
// Javax is required for webapis
compile "org.glassfish.jersey.core:jersey-server:${jersey_version}"
// 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
}
}
mainClassName = 'net.corda.netmap.NetworkMapVisualiser'
2016-11-17 11:03:40 +00:00
task deployVisualiser(type: FatCapsule) {
applicationClass 'net.corda.netmap.NetworkMapVisualiser'
2016-11-17 11:03:40 +00:00
reallyExecutable
capsuleManifest {
minJavaVersion = '1.8.0'
javaAgents = [configurations.quasar.singleFile.name]
}
}