mirror of
https://github.com/corda/corda.git
synced 2024-12-20 21:43:14 +00:00
Build capsules using runtime dependencies instead of compile ones. (#842)
This restores `artemis-amqp-protocol` to Corda Node.
This commit is contained in:
parent
e36a3c40e0
commit
97053be4f7
@ -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',
|
||||
|
@ -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'
|
||||
)
|
||||
|
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user