mirror of
https://github.com/corda/corda.git
synced 2024-12-30 09:48:59 +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'
|
applicationClass 'net.corda.node.Corda'
|
||||||
archiveName "corda-${corda_release_version}.jar"
|
archiveName "corda-${corda_release_version}.jar"
|
||||||
applicationSource = files(
|
applicationSource = files(
|
||||||
project(':node').configurations.compile,
|
project(':node').configurations.runtime,
|
||||||
project(':node').jar,
|
project(':node').jar,
|
||||||
'../build/classes/main/CordaCaplet.class',
|
'../build/classes/main/CordaCaplet.class',
|
||||||
'../build/classes/main/CordaCaplet$1.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'
|
applicationClass 'net.corda.explorer.Main'
|
||||||
archiveName "node-explorer-${corda_release_version}.jar"
|
archiveName "node-explorer-${corda_release_version}.jar"
|
||||||
applicationSource = files(
|
applicationSource = files(
|
||||||
project(':tools:explorer').configurations.compile,
|
project(':tools:explorer').configurations.runtime,
|
||||||
project(':tools:explorer').jar,
|
project(':tools:explorer').jar,
|
||||||
'../build/classes/main/ExplorerCaplet.class'
|
'../build/classes/main/ExplorerCaplet.class'
|
||||||
)
|
)
|
||||||
|
@ -23,7 +23,7 @@ task buildWebserverJar(type: FatCapsule, dependsOn: project(':node').compileJava
|
|||||||
applicationClass 'net.corda.webserver.WebServer'
|
applicationClass 'net.corda.webserver.WebServer'
|
||||||
archiveName "corda-webserver-${corda_release_version}.jar"
|
archiveName "corda-webserver-${corda_release_version}.jar"
|
||||||
applicationSource = files(
|
applicationSource = files(
|
||||||
project(':webserver').configurations.compile,
|
project(':webserver').configurations.runtime,
|
||||||
project(':webserver').jar,
|
project(':webserver').jar,
|
||||||
new File(project(':node').buildDir, 'classes/main/CordaCaplet.class'),
|
new File(project(':node').buildDir, 'classes/main/CordaCaplet.class'),
|
||||||
new File(project(':node').buildDir, 'classes/main/CordaCaplet$1.class'),
|
new File(project(':node').buildDir, 'classes/main/CordaCaplet$1.class'),
|
||||||
|
Loading…
Reference in New Issue
Block a user