2016-10-04 12:56:31 +00:00
|
|
|
apply plugin: 'kotlin'
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
mavenCentral()
|
|
|
|
jcenter()
|
|
|
|
maven {
|
|
|
|
url 'http://oss.sonatype.org/content/repositories/snapshots'
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
url 'https://dl.bintray.com/kotlin/exposed'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':core')
|
|
|
|
compile project(':client')
|
|
|
|
|
|
|
|
compile "org.graphstream:gs-core:1.3"
|
|
|
|
compile("org.graphstream:gs-ui:1.3") {
|
|
|
|
exclude group: "bouncycastle"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-10 13:14:38 +00:00
|
|
|
mainClassName = "net.corda.docs.ClientRpcTutorialKt"
|
2016-10-04 12:56:31 +00:00
|
|
|
|
|
|
|
task getClientRpcTutorial(type: CreateStartScripts) {
|
|
|
|
dependsOn(classes)
|
2016-11-10 13:14:38 +00:00
|
|
|
mainClassName = "net.corda.docs.ClientRpcTutorialKt"
|
2016-10-04 12:56:31 +00:00
|
|
|
applicationName = "client-rpc-tutorial"
|
|
|
|
defaultJvmOpts = []
|
|
|
|
outputDir = new File(project.buildDir, 'scripts')
|
|
|
|
classpath = jar.outputs.files + project.configurations.runtime
|
|
|
|
}
|
|
|
|
|
|
|
|
applicationDistribution.into("bin") {
|
|
|
|
from(getClientRpcTutorial)
|
|
|
|
fileMode = 0755
|
|
|
|
}
|