Depend upon an internal artifact, rather than a maven local published artifact when building the corda fatjar.

This commit is contained in:
Matthew Nesbit
2016-11-30 15:58:00 +00:00
parent e873347892
commit e54a304e2e
11 changed files with 90 additions and 86 deletions

View File

@ -36,17 +36,19 @@ sourceSets {
}
}
compileTestJava.dependsOn tasks.getByPath(':node:buildCordaJAR')
dependencies {
compile project(':core')
compile project(':client')
compile project(':test-utils')
testCompile project(':test-utils')
compile "org.graphstream:gs-core:1.3"
compile("org.graphstream:gs-ui:1.3") {
exclude group: "bouncycastle"
}
runtime "net.corda:corda:$corda_version"
runtime project(path: ":node", configuration: 'runtimeArtifacts')
}
mainClassName = "net.corda.docs.ClientRpcTutorialKt"
@ -70,7 +72,7 @@ task integrationTest(type: Test) {
classpath = sourceSets.integrationTest.runtimeClasspath
}
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'build']) {
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
directory "./build/nodes"
networkMap "Notary"
node {