2016-08-30 13:16:28 +00:00
|
|
|
buildscript {
|
|
|
|
ext.kotlin_version = '1.0.3'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'java'
|
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
2016-11-10 13:14:38 +00:00
|
|
|
mainClassName = 'net.corda.explorer.Main'
|
2016-08-30 13:16:28 +00:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
resources {
|
2016-11-03 17:28:38 +00:00
|
|
|
srcDir "../../config/dev"
|
2016-08-30 13:16:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
resources {
|
2016-11-03 17:28:38 +00:00
|
|
|
srcDir "../../config/test"
|
2016-08-30 13:16:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
mavenCentral()
|
|
|
|
mavenLocal()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
|
|
|
|
|
|
|
// TornadoFX: A lightweight Kotlin framework for working with JavaFX UI's.
|
2016-10-18 23:47:15 +00:00
|
|
|
compile 'no.tornado:tornadofx:1.5.6'
|
2016-08-30 13:16:28 +00:00
|
|
|
|
|
|
|
// Corda Core: Data structures and basic types needed to work with Corda.
|
|
|
|
compile project(':core')
|
|
|
|
compile project(':client')
|
|
|
|
compile project(':node')
|
2016-11-04 10:28:42 +00:00
|
|
|
compile project(':finance')
|
2016-08-30 13:16:28 +00:00
|
|
|
|
|
|
|
// FontAwesomeFX: The "FontAwesome" icon library.
|
|
|
|
compile 'de.jensd:fontawesomefx-fontawesome:4.6.1-2'
|
|
|
|
|
|
|
|
// 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'
|
2016-09-16 15:00:24 +00:00
|
|
|
|
|
|
|
// Humanize: formatting
|
|
|
|
compile 'com.github.mfornos:humanize-icu:1.2.2'
|
2016-10-18 23:47:15 +00:00
|
|
|
|
|
|
|
// Controls FX: more java FX components http://fxexperience.com/controlsfx/
|
|
|
|
compile 'org.controlsfx:controlsfx:8.40.12'
|
2016-11-11 09:31:52 +00:00
|
|
|
compile 'commons-lang:commons-lang:2.6'
|
|
|
|
// This provide com.apple.eawt stub for non-mac system.
|
|
|
|
compile 'com.yuvimasory:orange-extensions:1.3.0'
|
2016-08-30 13:16:28 +00:00
|
|
|
}
|
2016-10-18 23:47:15 +00:00
|
|
|
|
|
|
|
task(runDemoNodes, dependsOn: 'classes', type: JavaExec) {
|
2016-11-10 13:14:38 +00:00
|
|
|
main = 'net.corda.explorer.MainKt'
|
2016-10-18 23:47:15 +00:00
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
2016-11-03 09:49:05 +00:00
|
|
|
}
|