mirror of
https://github.com/corda/corda.git
synced 2024-12-20 13:33:12 +00:00
47 lines
1021 B
Groovy
47 lines
1021 B
Groovy
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"
|
|
}
|
|
}
|
|
|
|
mainClassName = "net.corda.docs.ClientRpcTutorialKt"
|
|
|
|
task getClientRpcTutorial(type: CreateStartScripts) {
|
|
dependsOn(classes)
|
|
mainClassName = "net.corda.docs.ClientRpcTutorialKt"
|
|
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
|
|
}
|