Build capsules using runtime dependencies instead of compile ones. (#842)

This restores `artemis-amqp-protocol` to Corda Node.
This commit is contained in:
Chris Rankin 2017-06-14 15:10:59 +01:00 committed by GitHub
parent e36a3c40e0
commit 97053be4f7
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ task buildCordaJAR(type: FatCapsule, dependsOn: project(':node').compileJava) {
applicationClass 'net.corda.node.Corda'
archiveName "corda-${corda_release_version}.jar"
applicationSource = files(
project(':node').configurations.compile,
project(':node').configurations.runtime,
project(':node').jar,
'../build/classes/main/CordaCaplet.class',
'../build/classes/main/CordaCaplet$1.class',

View File

@ -29,7 +29,7 @@ task buildExplorerJAR(type: FatCapsule, dependsOn: project(':tools:explorer').co
applicationClass 'net.corda.explorer.Main'
archiveName "node-explorer-${corda_release_version}.jar"
applicationSource = files(
project(':tools:explorer').configurations.compile,
project(':tools:explorer').configurations.runtime,
project(':tools:explorer').jar,
'../build/classes/main/ExplorerCaplet.class'
)

View File

@ -23,7 +23,7 @@ task buildWebserverJar(type: FatCapsule, dependsOn: project(':node').compileJava
applicationClass 'net.corda.webserver.WebServer'
archiveName "corda-webserver-${corda_release_version}.jar"
applicationSource = files(
project(':webserver').configurations.compile,
project(':webserver').configurations.runtime,
project(':webserver').jar,
new File(project(':node').buildDir, 'classes/main/CordaCaplet.class'),
new File(project(':node').buildDir, 'classes/main/CordaCaplet$1.class'),